summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-23 18:08:59 -0500
committerzachir <zachir@librem.one>2024-03-23 18:16:47 -0500
commit1747bb03f303ce3bd4b61b373f05af836ff0ecbc (patch)
tree91b51177dcb33aee442726a0e5e493f54896401c /nvim/init.vim
parentec4d2768355e09bef1ddc0cbb7fa54b71c7f1e17 (diff)
Set nvim colo and remove C++ auto colo
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim16
1 files changed, 7 insertions, 9 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index a28cfc3..8c0d378 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -43,9 +43,7 @@ set showmatch " Highlight matching brace
set number
set relativenumber
-"colorscheme CandyPaper
-"colorscheme SlateDark
-colorscheme preglow
+colorscheme 256-grayvim
set hlsearch " Highlight all search results
set smartcase " Enable smart-case search
@@ -191,12 +189,12 @@ augroup custom
au BufEnter *.tex :LLPStartPreview
au BufEnter *.md :set textwidth=80
au BufEnter *.ms :set textwidth=80
- au BufEnter *.c :colo DevC++
- au BufEnter *.h :colo DevC++
- au BufEnter *.cc :colo DevC++
- au BufEnter *.hh :colo DevC++
- au BufEnter *.cpp :colo DevC++
- au BufEnter *.hpp :colo DevC++
+ "au BufEnter *.c :colo DevC++
+ "au BufEnter *.h :colo DevC++
+ "au BufEnter *.cc :colo DevC++
+ "au BufEnter *.hh :colo DevC++
+ "au BufEnter *.cpp :colo DevC++
+ "au BufEnter *.hpp :colo DevC++
au BufWritePost init.vim :source %
" au BufWritePost *.tex :make
au BufWritePost *sxhkdrc* :!pkill -USR1 -x sxhkd