summaryrefslogtreecommitdiffstats
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index a477721..1720716 100644
--- a/.vimrc
+++ b/.vimrc
@@ -111,6 +111,8 @@ highlight RedundantSpaces ctermbg=red guibg=red
" autocommand definitions
" =======================
au BufRead *COMMIT_EDITMSG set spell spelllang=en textwidth=80
+au BufRead *.c set spell spelllang=en
+au BufRead *.h set spell spelllang=en
" ===========
" key hacking