summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-07-28 14:06:17 +0200
committerGravatar Robin Obůrka <robin.oburka@nic.cz> 2014-07-28 14:06:17 +0200
commit4776a828390e1015e07765e6eaa094a23283923c (patch)
treef02c129e4142b2364dd308f5827602b6f388a070
parentFix function toggleRelativeNumbers for Vim 7.4 (diff)
downloadvim_sync-4776a828390e1015e07765e6eaa094a23283923c.tar.xz
Enable spell checking in *.c and *.h files
-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