aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
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
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')
-rw-r--r--runtime/ftplugin/ada.vim6
-rw-r--r--runtime/ftplugin/c.vim7
-rw-r--r--runtime/ftplugin/zimbu.vim2
3 files changed, 3 insertions, 12 deletions
diff --git a/runtime/ftplugin/ada.vim b/runtime/ftplugin/ada.vim
index 0809e7b206..1f2d690b95 100644
--- a/runtime/ftplugin/ada.vim
+++ b/runtime/ftplugin/ada.vim
@@ -119,11 +119,7 @@ endif
" Section: Compiler {{{1
"
if ! exists("g:ada_default_compiler")
- if has("vms")
- let g:ada_default_compiler = 'decada'
- else
- let g:ada_default_compiler = 'gnat'
- endif
+ let g:ada_default_compiler = 'gnat'
endif
if ! exists("current_compiler") ||
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\>'
diff --git a/runtime/ftplugin/zimbu.vim b/runtime/ftplugin/zimbu.vim
index ff281202e0..558aea7df0 100644
--- a/runtime/ftplugin/zimbu.vim
+++ b/runtime/ftplugin/zimbu.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< efm< tw< et< sts< sw< | if has('vms') | setl isk< | endif"
+let b:undo_ftplugin = "setl fo< com< ofu< efm< tw< et< sts< sw<"
" Set 'formatoptions' to break comment lines but not other lines,
" and insert the comment leader when hitting <CR> or using "o".