summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index e2925cf..4e6a2c5 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -193,6 +193,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 BufWritePost init.vim :source %
au BufWritePost *.tex :make
au BufWritePost *sxhkdrc* :!pkill -USR1 -x sxhkd