aboutsummaryrefslogtreecommitdiff
path: root/runtime/menu.vim
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2014-12-09 22:48:34 -0500
committerMichael Reed <m.reed@mykolab.com>2014-12-19 15:28:49 -0500
commit6f50fd6c35234313e2423cc0ac45223fcea58ba9 (patch)
treec1f9aef00f6e2032a64408f880ba2256fd722a5b /runtime/menu.vim
parent189427efd7b905c00f155f5f9ce5123eca599e44 (diff)
downloadrneovim-6f50fd6c35234313e2423cc0ac45223fcea58ba9.tar.gz
rneovim-6f50fd6c35234313e2423cc0ac45223fcea58ba9.tar.bz2
rneovim-6f50fd6c35234313e2423cc0ac45223fcea58ba9.zip
Remove VMS remnants
Diffstat (limited to 'runtime/menu.vim')
-rw-r--r--runtime/menu.vim28
1 files changed, 8 insertions, 20 deletions
diff --git a/runtime/menu.vim b/runtime/menu.vim
index 09d3443155..682e6afac8 100644
--- a/runtime/menu.vim
+++ b/runtime/menu.vim
@@ -345,7 +345,7 @@ endfun
" get NL separated string with file names
let s:n = globpath(&runtimepath, "colors/*.vim")
-" split at NL, Ignore case for VMS and windows, sort on name
+" split at NL, ignore case for Windows, sort on name
let s:names = sort(map(split(s:n, "\n"), 'substitute(v:val, "\\c.*[/\\\\:\\]]\\([^/\\\\:]*\\)\\.vim", "\\1", "")'), 1)
" define all the submenu entries
@@ -372,7 +372,7 @@ if has("keymap")
let s:name = strpart(s:n, 0, s:i)
let s:n = strpart(s:n, s:i + 1, 19999)
endif
- " Ignore case for VMS and windows
+ " Ignore case for Windows
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:_]*\)\(_[0-9a-zA-Z-]*\)\=\.vim', '\1', '')
exe "an 20.460." . s:idx . ' &Edit.&Keymap.' . s:name . " :set keymap=" . s:name . "<CR>"
unlet s:name
@@ -389,11 +389,7 @@ endif
" Programming menu
if !exists("g:ctags_command")
- if has("vms")
- let g:ctags_command = "mc vim:ctags *.*"
- else
- let g:ctags_command = "ctags -R ."
- endif
+ let g:ctags_command = "ctags -R ."
endif
an 40.300 &Tools.&Jump\ to\ this\ tag<Tab>g^] g<C-]>
@@ -538,12 +534,8 @@ an <silent> 40.540 &Tools.Conve&rt\ back<Tab>:%!xxd\ -r
" set.
func! s:XxdConv()
let mod = &mod
- if has("vms")
- %!mc vim:xxd
- else
- call s:XxdFind()
- exe '%!"' . g:xxdprogram . '"'
- endif
+ call s:XxdFind()
+ exe '%!"' . g:xxdprogram . '"'
if getline(1) =~ "^0000000:" " only if it worked
set ft=xxd
endif
@@ -552,12 +544,8 @@ endfun
func! s:XxdBack()
let mod = &mod
- if has("vms")
- %!mc vim:xxd -r
- else
- call s:XxdFind()
- exe '%!"' . g:xxdprogram . '" -r'
- endif
+ call s:XxdFind()
+ exe '%!"' . g:xxdprogram . '" -r'
set ft=
doautocmd filetypedetect BufReadPost
let &mod = mod
@@ -586,7 +574,7 @@ while strlen(s:n) > 0
let s:name = strpart(s:n, 0, s:i)
let s:n = strpart(s:n, s:i + 1, 19999)
endif
- " Ignore case for VMS and windows
+ " Ignore case for Windows
let s:name = substitute(s:name, '\c.*[/\\:\]]\([^/\\:]*\)\.vim', '\1', '')
exe "an 30.440." . s:idx . ' &Tools.Se&T\ Compiler.' . s:name . " :compiler " . s:name . "<CR>"
unlet s:name