aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-21 00:43:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-21 00:43:16 +1200
commit785af8e933a31e6a3225f1bd16689f96664e7667 (patch)
tree557ae7e979a3bbf9752bd054f50c5bf3afd6f055
parentDefine 'grepprg' for GNU grep in .vimrc (diff)
downloaddotfiles-785af8e933a31e6a3225f1bd16689f96664e7667.tar.gz
dotfiles-785af8e933a31e6a3225f1bd16689f96664e7667.zip
Correct two Vim comments
-rw-r--r--vim/after/ftplugin/c.vim2
-rw-r--r--vim/after/ftplugin/cpp.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/vim/after/ftplugin/c.vim b/vim/after/ftplugin/c.vim
index fff9de04..34e9b8fd 100644
--- a/vim/after/ftplugin/c.vim
+++ b/vim/after/ftplugin/c.vim
@@ -3,7 +3,7 @@ if &filetype !=# 'c' || v:version < 700
finish
endif
-" Set comment formats
+" Set include pattern
setlocal include=^\\s*#\\s*include
let b:undo_ftplugin .= '|setlocal include<'
diff --git a/vim/after/ftplugin/cpp.vim b/vim/after/ftplugin/cpp.vim
index 38c94330..ae100015 100644
--- a/vim/after/ftplugin/cpp.vim
+++ b/vim/after/ftplugin/cpp.vim
@@ -3,7 +3,7 @@ if &filetype !=# 'cpp' || v:version < 700
finish
endif
-" Set comment formats
+" Set include pattern
setlocal include=^\\s*#\\s*include
let b:undo_ftplugin .= '|setlocal include<'