summaryrefslogtreecommitdiff
path: root/nvim/.config
diff options
context:
space:
mode:
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',