aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/c.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-12-19 17:08:39 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-12-19 17:08:39 -0500
commite922a7427371b5869d1b1623c368f365bad3fedb (patch)
tree49fd95ece32c13407d65f4a845f873201e389b13 /runtime/ftplugin/c.vim
parent189427efd7b905c00f155f5f9ce5123eca599e44 (diff)
parenta62fe49d3caa40b8a6efb6528cce725f4dffa78a (diff)
downloadrneovim-e922a7427371b5869d1b1623c368f365bad3fedb.tar.gz
rneovim-e922a7427371b5869d1b1623c368f365bad3fedb.tar.bz2
rneovim-e922a7427371b5869d1b1623c368f365bad3fedb.zip
Merge pull request #1648 from Pyrohh/amiga-vms-cleanup
Amiga/VMS cleanup
Diffstat (limited to 'runtime/ftplugin/c.vim')
-rw-r--r--runtime/ftplugin/c.vim7
1 files changed, 1 insertions, 6 deletions
diff --git a/runtime/ftplugin/c.vim b/runtime/ftplugin/c.vim
index 19e8c51edb..487ce7a165 100644
--- a/runtime/ftplugin/c.vim
+++ b/runtime/ftplugin/c.vim
@@ -15,7 +15,7 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo-=C
-let b:undo_ftplugin = "setl fo< com< ofu< | if has('vms') | setl isk< | endif"
+let b:undo_ftplugin = "setl fo< com< ofu<"
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".
@@ -29,11 +29,6 @@ endif
" Set 'comments' to format dashed lists in comments.
setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
-" In VMS C keywords contain '$' characters.
-if has("vms")
- setlocal iskeyword+=$
-endif
-
" When the matchit plugin is loaded, this makes the % command skip parens and
" braces in comments.
let b:match_words = &matchpairs . ',^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^\s*#\s*else\>:^\s*#\s*endif\>'