mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Remove VMS remnants
This commit is contained in:
parent
189427efd7
commit
6f50fd6c35
@ -832,12 +832,11 @@ These are not available when Vim has been compiled without the |+modify_fname|
|
||||
feature.
|
||||
These modifiers can be given, in this order:
|
||||
:p Make file name a full path. Must be the first modifier. Also
|
||||
changes "~/" (and "~user/" for Unix and VMS) to the path for
|
||||
the home directory. If the name is a directory a path
|
||||
separator is added at the end. For a file name that does not
|
||||
exist and does not have an absolute path the result is
|
||||
unpredictable. On MS-Windows an 8.3 filename is expanded to
|
||||
the long name.
|
||||
changes "~/" (and "~user/" for Unix) to the path for the home
|
||||
directory. If the name is a directory a path separator is
|
||||
added at the end. For a file name that does not exist and
|
||||
does not have an absolute path the result is unpredictable.
|
||||
On MS-Windows an 8.3 filename is expanded to the long name.
|
||||
:8 Converts the path to 8.3 short format (currently only on
|
||||
MS-Windows). Will act on as much of a path that is an
|
||||
existing path.
|
||||
|
@ -6803,7 +6803,6 @@ virtualedit Compiled with 'virtualedit' option.
|
||||
visual Compiled with Visual mode.
|
||||
visualextra Compiled with extra Visual mode commands.
|
||||
|blockwise-operators|.
|
||||
vms VMS version of Vim.
|
||||
vreplace Compiled with |gR| and |gr| commands.
|
||||
wildignore Compiled with 'wildignore' option.
|
||||
wildmenu Compiled with 'wildmenu' option.
|
||||
|
@ -37,7 +37,6 @@ Detail: The ":filetype on" command will load one of these files:
|
||||
Mac $VIMRUNTIME/filetype.vim
|
||||
MS-DOS $VIMRUNTIME\filetype.vim
|
||||
Unix $VIMRUNTIME/filetype.vim
|
||||
VMS $VIMRUNTIME/filetype.vim
|
||||
This file is a Vim script that defines autocommands for the
|
||||
BufNewFile and BufRead events. If the file type is not found by the
|
||||
name, the file $VIMRUNTIME/scripts.vim is used to detect it from the
|
||||
|
@ -1026,7 +1026,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
security reasons.
|
||||
|
||||
*'backupext'* *'bex'* *E589*
|
||||
'backupext' 'bex' string (default "~", for VMS: "_")
|
||||
'backupext' 'bex' string (default "~")
|
||||
global
|
||||
{not in Vi}
|
||||
String which is appended to a file name to make the name of the
|
||||
@ -3313,8 +3313,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'grepprg'* *'gp'*
|
||||
'grepprg' 'gp' string (default "grep -n ",
|
||||
Unix: "grep -n $* /dev/null",
|
||||
Win32: "findstr /n" or "grep -n",
|
||||
VMS: "SEARCH/NUMBERS ")
|
||||
Win32: "findstr /n" or "grep -n")
|
||||
global or local to buffer |global-local|
|
||||
{not in Vi}
|
||||
Program to use for the |:grep| command. This option may contain '%'
|
||||
@ -4264,7 +4263,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'isfname' 'isf' string (default for MS-DOS and Win32:
|
||||
"@,48-57,/,\,.,-,_,+,,,#,$,%,{,},[,],:,@-@,!,~,="
|
||||
for AMIGA: "@,48-57,/,.,-,_,+,,,$,:"
|
||||
for VMS: "@,48-57,/,.,-,_,+,,,#,$,%,<,>,[,],:,;,~"
|
||||
otherwise: "@,48-57,/,.,-,_,+,,,#,$,%,~,=")
|
||||
global
|
||||
{not in Vi}
|
||||
@ -4418,8 +4416,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
The 'keymodel' option is set by the |:behave| command.
|
||||
|
||||
*'keywordprg'* *'kp'*
|
||||
'keywordprg' 'kp' string (default "man" or "man -s", DOS: ":help",
|
||||
VMS: "help")
|
||||
'keywordprg' 'kp' string (default "man" or "man -s", DOS: ":help")
|
||||
global or local to buffer |global-local|
|
||||
{not in Vi}
|
||||
Program to use for the |K| command. Environment variables are
|
||||
@ -4713,7 +4710,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
security reasons.
|
||||
|
||||
*'makeprg'* *'mp'*
|
||||
'makeprg' 'mp' string (default "make", VMS: "MMS")
|
||||
'makeprg' 'mp' string (default "make")
|
||||
global or local to buffer |global-local|
|
||||
{not in Vi}
|
||||
Program to use for the ":make" command. See |:make_makeprg|.
|
||||
@ -5687,11 +5684,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Macintosh: "$VIM:vimfiles,
|
||||
$VIMRUNTIME,
|
||||
$VIM:vimfiles:after"
|
||||
VMS: "sys$login:vimfiles,
|
||||
$VIM/vimfiles,
|
||||
$VIMRUNTIME,
|
||||
$VIM/vimfiles/after,
|
||||
sys$login:vimfiles/after")
|
||||
global
|
||||
{not in Vi}
|
||||
This is a list of directories which will be searched for runtime
|
||||
@ -7061,7 +7053,6 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
on Mac: "mac-ansi"
|
||||
on MS-DOS: "pcterm"
|
||||
on Unix: "ansi"
|
||||
on VMS: "ansi"
|
||||
on Win 32: "win32")
|
||||
global
|
||||
Name of the terminal. Used for choosing the terminal control
|
||||
@ -7391,7 +7382,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'ttymouse' 'ttym' string (default depends on 'term')
|
||||
global
|
||||
{not in Vi}
|
||||
{only in Unix and VMS, doesn't work in the GUI; not
|
||||
{only in Unix, doesn't work in the GUI; not
|
||||
available when compiled without |+mouse|}
|
||||
Name of the terminal type for which mouse codes are to be recognized.
|
||||
Currently these strings are valid:
|
||||
@ -7498,8 +7489,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
When 'undofile' is turned off the undo file is NOT deleted.
|
||||
|
||||
*'undolevels'* *'ul'*
|
||||
'undolevels' 'ul' number (default 100, 1000 for Unix, VMS,
|
||||
and Win32)
|
||||
'undolevels' 'ul' number (default 100, 1000 for Unix and Win32)
|
||||
global or local to buffer |global-local|
|
||||
{not in Vi}
|
||||
Maximum number of changes that can be undone. Since undo information
|
||||
@ -7597,8 +7587,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'viewdir' 'vdir' string (default for Amiga, MS-DOS, and Win32:
|
||||
"$VIM/vimfiles/view",
|
||||
for Unix: "~/.vim/view",
|
||||
for Macintosh: "$VIM:vimfiles:view"
|
||||
for VMS: "sys$login:vimfiles/view")
|
||||
for Macintosh: "$VIM:vimfiles:view")
|
||||
global
|
||||
{not in Vi}
|
||||
{not available when compiled without the |+mksession|
|
||||
|
@ -95,7 +95,6 @@ If the option is empty, then vim will use the system default printer for
|
||||
'printencoding' 'penc' String (default empty, except for:
|
||||
Windows: cp1252,
|
||||
Macintosh: mac-roman,
|
||||
VMS: dec-mcs,
|
||||
HPUX: hp-roman8)
|
||||
global
|
||||
Sets the character encoding used when printing. This option tells VIM which
|
||||
@ -120,9 +119,9 @@ other than latin1 will require VIM to be compiled with the |+iconv| feature.
|
||||
If no conversion is possible then printing will fail. Any characters that
|
||||
cannot be converted will be replaced with upside down question marks.
|
||||
|
||||
Three print character encoding files are provided to support default Mac, VMS,
|
||||
and HPUX character encodings and are used by default on these platforms. Code
|
||||
page 1252 print character encoding is used by default on the Windows platform.
|
||||
Two print character encoding files are provided to support default Mac and
|
||||
HPUX character encodings and are used by default on these platforms. Code page
|
||||
1252 print character encoding is used by default on the Windows platform.
|
||||
|
||||
*pexpr-option*
|
||||
'printexpr' 'pexpr' String (default: see below)
|
||||
@ -134,8 +133,8 @@ The arguments to the ":hardcopy" command are in |v:cmdarg|.
|
||||
The expression must take care of deleting the file after printing it.
|
||||
When there is an error, the expression must return a non-zero number.
|
||||
If there is no error, return zero or an empty string.
|
||||
The default for non MS-Windows or VMS systems is to simply use "lpr" to print
|
||||
the file: >
|
||||
The default for non MS-Windows systems is to simply use "lpr" to print the
|
||||
file: >
|
||||
|
||||
system('lpr' . (&printdevice == '' ? '' : ' -P' . &printdevice)
|
||||
. ' ' . v:fname_in) . delete(v:fname_in) + v:shell_error
|
||||
@ -147,12 +146,6 @@ currently specified printdevice: >
|
||||
? ' LPT1:' : (' \"' . &printdevice . '\"')))
|
||||
. delete(v:fname_in)
|
||||
|
||||
On VMS machines the default is to send the file to either the default or
|
||||
currently specified printdevice: >
|
||||
|
||||
system('print' . (&printdevice == '' ? '' : ' /queue=' .
|
||||
&printdevice) . ' ' . v:fname_in) . delete(v:fname_in)
|
||||
|
||||
If you change this option, using a function is an easy way to avoid having to
|
||||
escape all the spaces. Example: >
|
||||
|
||||
@ -613,12 +606,6 @@ X11
|
||||
|
||||
http://www.cs.wisc.edu/~ghost/gv/
|
||||
|
||||
OpenVMS
|
||||
|
||||
- Is apparently supported in the main code now (untested). See:
|
||||
|
||||
http://wwwthep.physik.uni-mainz.de/~plass/gv/
|
||||
|
||||
Windows
|
||||
|
||||
- GSview. Obtainable from:
|
||||
|
@ -340,9 +340,6 @@ A spell file might not be available in the current 'encoding'. See
|
||||
|spell-mkspell| about how to create a spell file. Converting a spell file
|
||||
with "iconv" will NOT work!
|
||||
|
||||
Note: on VMS ".{enc}.spl" is changed to "_{enc}.spl" to avoid trouble with
|
||||
filenames.
|
||||
|
||||
*spell-sug-file* *E781*
|
||||
If there is a file with exactly the same name as the ".spl" file but ending in
|
||||
".sug", that file will be used for giving better suggestions. It isn't loaded
|
||||
|
@ -122,9 +122,6 @@ The option arguments may be given in any order. Single-letter options can be
|
||||
combined after one dash. There can be no option arguments after the "--"
|
||||
argument.
|
||||
|
||||
On VMS all option arguments are assumed to be lowercase, unless preceded with
|
||||
a slash. Thus "-R" means recovery and "-/R" readonly.
|
||||
|
||||
--help *-h* *--help*
|
||||
-h Give usage (help) message and exit. {not in Vi}
|
||||
See |info-message| about capturing the text.
|
||||
@ -488,8 +485,8 @@ a slash. Thus "-R" means recovery and "-/R" readonly.
|
||||
avoids a long startup time when running Vim in a terminal
|
||||
emulator and the connection to the X server is slow.
|
||||
See |--startuptime| to find out if affects you.
|
||||
Only makes a difference on Unix or VMS, when compiled with the
|
||||
|+X11| feature. Otherwise it's ignored.
|
||||
Only makes a difference on Unix when compiled with the |+X11|
|
||||
feature. Otherwise it's ignored.
|
||||
To disable the connection only for specific terminals, see the
|
||||
'clipboard' option.
|
||||
When the X11 Session Management Protocol (XSMP) handler has
|
||||
@ -668,7 +665,7 @@ In Evim these options are changed from their default value:
|
||||
:set nocompatible Use Vim improvements
|
||||
:set insertmode Remain in Insert mode most of the time
|
||||
:set hidden Keep invisible buffers loaded
|
||||
:set backup Keep backup files (not for VMS)
|
||||
:set backup Keep backup files
|
||||
:set backspace=2 Backspace over everything
|
||||
:set autoindent auto-indent new lines
|
||||
:set history=50 keep 50 lines of Ex commands
|
||||
@ -767,9 +764,9 @@ accordingly. Vim proceeds in this order:
|
||||
a. If vim was started as |evim| or |eview| or with the |-y| argument, the
|
||||
script $VIMRUNTIME/evim.vim will be loaded.
|
||||
*system-vimrc*
|
||||
b. For Unix, MS-DOS, MS-Windows, VMS, Macintosh, and Amiga,
|
||||
the system vimrc file is read for initializations. The path of this
|
||||
file is shown with the ":version" command. Mostly it's "$VIM/vimrc".
|
||||
b. For Unix, MS-DOS, MS-Windows, Macintosh, and Amiga, the system vimrc
|
||||
file is read for initializations. The path of this file is shown with
|
||||
the ":version" command. Mostly it's "$VIM/vimrc".
|
||||
Note that this file is ALWAYS read in 'compatible' mode, since the
|
||||
automatic resetting of 'compatible' is only done later. Add a ":set
|
||||
nocp" command if you like.
|
||||
|
@ -204,9 +204,6 @@ Patch to support expression argument to sort() instead of a function name.
|
||||
Yasuhiro Matsumoto, 2013 May 31.
|
||||
Or should we add a more general mechanism, like lambda functions?
|
||||
|
||||
VMS: Select() doesn't work properly, typing ESC may hang Vim. Use sys$qiow
|
||||
instead. (Samuel Ferencik, 2013 Sep 28)
|
||||
|
||||
Patch for XDG base directory support. (Jean François Bignolles, 2014 Mar 4)
|
||||
Remark on the docs. Should not be a compile time feature. But then what?
|
||||
|
||||
@ -1587,12 +1584,6 @@ The buffer has the full path in ffname, should pass this to the autocommand.
|
||||
"vim -C" often has 'nocompatible', because it's set in some startup script.
|
||||
Set 'compatible' after startup is done? Patch by James Vega, 2008 Feb 7.
|
||||
|
||||
VMS: while editing a file found in complex, Vim will save file into the first
|
||||
directory of the path and not to the original location of the file.
|
||||
(Zoltan Arpadffy)
|
||||
|
||||
VMS: VFC files are in some cases truncated during reading (Zoltan Arpadffy)
|
||||
|
||||
input() completion should not insert a backslash to escape a space in a file
|
||||
name?
|
||||
|
||||
@ -2726,8 +2717,6 @@ Problems that will (probably) not be solved:
|
||||
libraries, get a patch from Sun.
|
||||
- Solaris 2.6 with GTK and Perl: gvim crashes when started. Problem with X
|
||||
input method called from GDK code. Without Perl it doesn't crash.
|
||||
- VMS: Vimdiff doesn't work with the VMS diff, because the output looks
|
||||
different. This makes test 47 fail. Install a Unix-compatible diff.
|
||||
- Win32 GUI: mouse wheel always scrolls rightmost window. The events arrive
|
||||
in Vim as if the rightmost scrollbar was used.
|
||||
- GTK with Gnome: Produces an error message when starting up:
|
||||
@ -4814,7 +4803,6 @@ Digraphs:
|
||||
Writing files:
|
||||
- In vim_rename(), should lock "from" file when deleting "to" file for
|
||||
systems other than Amiga.
|
||||
8 write mch_isdevice() for Amiga, Mac, VMS, etc.
|
||||
8 When appending to a file, Vim should also make a backup and a 'patchmode'
|
||||
file.
|
||||
8 'backupskip' doesn't write a backup file at all, a bit dangerous for some
|
||||
|
@ -126,14 +126,7 @@ available, use the two-letter language code. For French: >
|
||||
vimtutor fr
|
||||
|
||||
On Unix, if you prefer using the GUI version of Vim, use "gvimtutor" or
|
||||
"vimtutor -g" instead of "vimtutor".
|
||||
|
||||
For OpenVMS, if Vim has been properly installed, you can start vimtutor from a
|
||||
VMS prompt with: >
|
||||
|
||||
@VIM:vimtutor
|
||||
|
||||
Optionally add the two-letter language code as above.
|
||||
"vimtutor -g", optionally with a two-letter language code.
|
||||
|
||||
|
||||
On other systems, you have to do a little work:
|
||||
|
@ -96,14 +96,9 @@ when pressing <Enter> in Insert mode, and when using the "o" command to open a
|
||||
new line.
|
||||
>
|
||||
|
||||
if has("vms")
|
||||
set nobackup
|
||||
else
|
||||
set backup
|
||||
endif
|
||||
|
||||
This tells Vim to keep a backup copy of a file when overwriting it. But not
|
||||
on the VMS system, since it keeps old versions of files already. The backup
|
||||
This tells Vim to keep a backup copy of a file when overwriting it. The backup
|
||||
file will have the same name as the original file with "~" added. See |07.4|
|
||||
>
|
||||
|
||||
|
@ -136,7 +136,6 @@ Support for different systems.
|
||||
- MS-DOS in real-mode (no additional drivers required).
|
||||
- In protected mode on Windows 3.1 and MS-DOS (DPMI driver required).
|
||||
- Windows 95 and Windows NT, with support for long file names.
|
||||
- VMS
|
||||
- Macintosh
|
||||
Note that on some systems features need to be disabled to reduce
|
||||
resource usage, esp. on MS-DOS. For some outdated systems you need to
|
||||
|
@ -28,11 +28,7 @@ cnoremap <silent> <C-F> <C-C>:promptfind<CR>
|
||||
|
||||
set backspace=2 " allow backspacing over everything in insert mode
|
||||
set autoindent " always set autoindenting on
|
||||
if has("vms")
|
||||
set nobackup " do not keep a backup file, use versions instead
|
||||
else
|
||||
set backup " keep a backup file
|
||||
endif
|
||||
set backup " keep a backup file
|
||||
set history=50 " keep 50 lines of command line history
|
||||
set ruler " show the cursor position all the time
|
||||
set incsearch " do incremental searching
|
||||
|
@ -91,11 +91,7 @@ au BufNewFile,BufRead *.wrm setf acedb
|
||||
|
||||
" Ada (83, 9X, 95)
|
||||
au BufNewFile,BufRead *.adb,*.ads,*.ada setf ada
|
||||
if has("vms")
|
||||
au BufNewFile,BufRead *.gpr,*.ada_m,*.adc setf ada
|
||||
else
|
||||
au BufNewFile,BufRead *.gpr setf ada
|
||||
endif
|
||||
au BufNewFile,BufRead *.gpr setf ada
|
||||
|
||||
" AHDL
|
||||
au BufNewFile,BufRead *.tdf setf ahdl
|
||||
|
@ -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
|
||||
endif
|
||||
|
||||
if ! exists("current_compiler") ||
|
||||
|
@ -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\>'
|
||||
|
@ -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".
|
||||
|
@ -8,7 +8,6 @@
|
||||
" for Unix: ~/.gvimrc
|
||||
" for Amiga: s:.gvimrc
|
||||
" for MS-DOS and Win32: $VIM\_gvimrc
|
||||
" for OpenVMS: sys$login:.gvimrc
|
||||
|
||||
" Make external commands work through a pipe instead of a pseudo-tty
|
||||
"set noguipty
|
||||
|
@ -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
|
||||
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
|
||||
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
|
||||
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
|
||||
|
@ -107,9 +107,6 @@ syn match dclGotoLabel "^\$\s*\I\i*:\s*$" contains=dclStart
|
||||
" parameters
|
||||
syn match dclParam "'\I[a-zA-Z0-9_$]*'\="
|
||||
|
||||
" () matching (the clusters are commented out until a vim/vms comes out for v5.2+)
|
||||
"syn cluster dclNextGroups contains=dclCmdDirPath,dclCmdProc,dclCmdProc,dclDirPath,dclFilename,dclFilename,dclMdfySet,dclMdfySetString,delCmdProc,dclExe,dclTodo
|
||||
"syn region dclFuncList matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" contains=ALLBUT,@dclNextGroups
|
||||
syn region dclFuncList matchgroup=Delimiter start="(" matchgroup=Delimiter end=")" contains=ALLBUT,dclCmdDirPath,dclCmdProc,dclCmdProc,dclDirPath,dclFilename,dclFilename,dclMdfySet,dclMdfySetString,delCmdProc,dclExe,dclTodo
|
||||
syn match dclError ")"
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
" for Unix: ~/.vimrc
|
||||
" for Amiga: s:.vimrc
|
||||
" for MS-DOS and Win32: $VIM\_vimrc
|
||||
" for OpenVMS: sys$login:.vimrc
|
||||
|
||||
" When started as "evim", evim.vim will already have done these settings.
|
||||
if v:progname =~? "evim"
|
||||
@ -21,12 +20,8 @@ set nocompatible
|
||||
" allow backspacing over everything in insert mode
|
||||
set backspace=indent,eol,start
|
||||
|
||||
if has("vms")
|
||||
set nobackup " do not keep a backup file, use versions instead
|
||||
else
|
||||
set backup " keep a backup file (restore to previous version)
|
||||
set undofile " keep an undo file (undo changes after closing)
|
||||
endif
|
||||
set backup " keep a backup file (restore to previous version)
|
||||
set undofile " keep an undo file (undo changes after closing)
|
||||
set history=50 " keep 50 lines of command line history
|
||||
set ruler " show the cursor position all the time
|
||||
set showcmd " display incomplete commands
|
||||
|
@ -1,6 +1,5 @@
|
||||
/*
|
||||
* VIM - Vi IMproved by Bram Moolenaar
|
||||
* VMS merge by Zoltan Arpadffy
|
||||
*
|
||||
* Do ":help uganda" in Vim to read copying and usage conditions.
|
||||
* Do ":help credits" in Vim to see a list of people who contributed.
|
||||
|
@ -24,12 +24,7 @@ STARTTEST
|
||||
:set nobin eol
|
||||
:bwipe XXUnix XXDos XXMac
|
||||
:" create mixed format files
|
||||
:if has("vms")
|
||||
: !copy XXUnix,XXDos XXUxDs.
|
||||
: !copy XXUnix,XXMac XXUxMac.
|
||||
: !copy XXDos,XXMac XXDosMac.
|
||||
: !copy XXUnix,XXDos,XXMac XXUxDsMc.
|
||||
:elseif has("win32")
|
||||
:if has("win32")
|
||||
: !copy /b XXUnix+XXDos XXUxDs
|
||||
: !copy /b XXUnix+XXMac XXUxMac
|
||||
: !copy /b XXDos+XXMac XXDosMac
|
||||
|
Loading…
Reference in New Issue
Block a user