From 5fdc951dc6ce6069f28c1fbfb6d10f64733099df Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sun, 30 Jan 2022 12:32:06 -0600 Subject: nvim: color scheme --- nvim/.config/nvim/init.vim | 7 ++++++- nvim/.config/nvim/lua/plugins.lua | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 53f5590..b630ad8 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -14,8 +14,13 @@ set number " add line numbers set wildmode=longest,list " get bash-like tab completions set cc=120 " set an 120 column border for good coding style filetype plugin indent on " allows auto-indenting depending on file type + +" colors +if (has("termguicolors")) + set termguicolors +endif syntax on " syntax highlighting -colorscheme slate " color scheme +colorscheme OceanicNext " display whitespace set listchars=eol:↵,trail:⋅,tab:▷\ ,extends:◣,precedes:◢,nbsp:○ diff --git a/nvim/.config/nvim/lua/plugins.lua b/nvim/.config/nvim/lua/plugins.lua index 849b1fc..6da88ad 100644 --- a/nvim/.config/nvim/lua/plugins.lua +++ b/nvim/.config/nvim/lua/plugins.lua @@ -15,6 +15,9 @@ return require('packer').startup(function() -- Packer can manage itself use 'wbthomason/packer.nvim' + -- Color scheme + use 'mhartington/oceanic-next' + -- Tree Sitter use { 'nvim-treesitter/nvim-treesitter', -- cgit v1.2.3