diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:23:06 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-29 23:23:06 +1300 |
commit | 61ad1432240290f889ef11a4b527163cc8fff83d (patch) | |
tree | a775b3e5bacf7655f9f4ef7c3416d295b06688ae /vim/after/ftplugin/cpp.vim | |
parent | Set b:did_ftplugin flag in Vim ftplugins (diff) | |
download | dotfiles-61ad1432240290f889ef11a4b527163cc8fff83d.tar.gz dotfiles-61ad1432240290f889ef11a4b527163cc8fff83d.zip |
Simplify after/ftplugin for C
Allow the cpp plugin to load this, since it's the same anyway, and push
all the undo stuff together.
Diffstat (limited to 'vim/after/ftplugin/cpp.vim')
-rw-r--r-- | vim/after/ftplugin/cpp.vim | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/vim/after/ftplugin/cpp.vim b/vim/after/ftplugin/cpp.vim deleted file mode 100644 index 4042fb84..00000000 --- a/vim/after/ftplugin/cpp.vim +++ /dev/null @@ -1,18 +0,0 @@ -" Extra configuration for C++ files -if &filetype !=# 'cpp' || v:version < 700 - finish -endif - -" Include macros in completion -setlocal complete+=d -let b:undo_ftplugin .= '|setlocal complete<' - -" Set include pattern -setlocal include=^\\s*#\\s*include -let b:undo_ftplugin .= '|setlocal include<' - -" Include headers on UNIX -if has('unix') - setlocal path+=/usr/include - let b:undo_ftplugin .= '|setlocal path<' -endif |