summaryrefslogtreecommitdiff
path: root/nvim/.config
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2022-01-30 12:32:06 -0600
committerBobby Bingham <koorogi@koorogi.info>2022-01-30 12:32:06 -0600
commit5fdc951dc6ce6069f28c1fbfb6d10f64733099df (patch)
tree5e8c40f864c9ec98646fd20c417f2aa4f68a1d20 /nvim/.config
parent1fbaff0fa6714a81a97fa8add356e970998f2c84 (diff)
nvim: color scheme
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/init.vim7
-rw-r--r--nvim/.config/nvim/lua/plugins.lua3
2 files changed, 9 insertions, 1 deletions
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',