summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-08 21:53:11 -0600
committerzachir <zachir@librem.one>2024-02-08 21:53:11 -0600
commit4239076f93ce65227f297ee142705e449a46ebb6 (patch)
tree6f50a108bc311f5687528c7ed46df8ed31162923
parenta3dcf5be3f93354f16511d63b5b9b2e0c57e1a08 (diff)
nvim: Use DevC++ colo for c/c++ files
This uses a colorscheme specifically for c/c++ files when editing c/c++ files.
-rw-r--r--nvim/init.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index cac706f..a28cfc3 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -191,12 +191,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