summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-08 21:53:11 -0600
committerzachir <zachir@librem.one>2024-02-08 22:04:10 -0600
commitc28620857a470ba43b93207c4c339dce43c1df83 (patch)
treea1516f0f8121b94c4b1d375567310de816c5b909 /nvim
parent5bb5ef9ec51f4efced3a06cafcf420aa805a5066 (diff)
nvim: Use DevC++ colo for c/c++ files
This uses a colorscheme specifically for c/c++ files when editing c/c++ files.
Diffstat (limited to 'nvim')
-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