aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-19 15:22:40 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-19 15:22:40 +1200
commit6bd14e07a3ffd882c5eb236a79280b0d00ba3047 (patch)
tree699ef748273fc0b40c09083302d927eb473f5aa9 /vim/after/ftplugin
parentRemove unnecessary :setlocal commands (diff)
downloaddotfiles-6bd14e07a3ffd882c5eb236a79280b0d00ba3047.tar.gz
dotfiles-6bd14e07a3ffd882c5eb236a79280b0d00ba3047.zip
Add 'define' option reset to Vim C ftplugin
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/c.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/after/ftplugin/c.vim b/vim/after/ftplugin/c.vim
index b5989410..d1f6ef0b 100644
--- a/vim/after/ftplugin/c.vim
+++ b/vim/after/ftplugin/c.vim
@@ -1,5 +1,6 @@
-" Set 'commentstring' and 'include' back to their default C-friendly values
+" Set 'commentstring', 'define', and 'include' back to their default C-friendly values
setlocal commentstring&vim
+setlocal define&vim include&vim
setlocal include&vim
" Include macros in completion