Skip to content

Commit

Permalink
Update runtime files.
Browse files Browse the repository at this point in the history
  • Loading branch information
brammool committed Jul 31, 2019
1 parent 0e6bfb9 commit 5477506
Show file tree
Hide file tree
Showing 62 changed files with 338 additions and 3,483 deletions.
10 changes: 5 additions & 5 deletions runtime/compiler/cs.vim
@@ -1,8 +1,8 @@
" Vim compiler file
" Compiler: Microsoft Visual Studio C#
" Maintainer: Zhou YiChao (broken.zhou@gmail.com)
" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
" Last Change: 2012 Apr 30
" Compiler: Microsoft Visual Studio C#
" Maintainer: Yichao Zhou (broken.zhou@gmail.com)
" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
" Last Change: Jul 22, 2019

if exists("current_compiler")
finish
Expand All @@ -20,7 +20,7 @@ CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
\%trror%*[^:]:\ %m,
\%tarning%*[^:]:\ %m

CompilerSet makeprg=csc\ %
CompilerSet makeprg=csc\ %:S

let &cpo = s:keepcpo
unlet s:keepcpo
4 changes: 2 additions & 2 deletions runtime/compiler/erlang.vim
@@ -1,13 +1,13 @@
" Vim compiler file
" Compiler: Erlang
" Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
" Last Change: 2012-02-13
" Last Change: 2019 Jul 23

if exists("current_compiler")
finish
endif
let current_compiler = "erlang"

CompilerSet makeprg=erlc\ -Wall\ %
CompilerSet makeprg=erlc\ -Wall\ %:S

CompilerSet errorformat=%f:%l:\ %m
2 changes: 1 addition & 1 deletion runtime/compiler/fortran_cv.vim
Expand Up @@ -22,7 +22,7 @@ CompilerSet errorformat=
\%-Z%p%^%.%#,
\%-G%.%#,
" Compiler call
CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %
CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %:S
" Visual fortran defaults to printing output on stderr
" Adjust option shellpipe accordingly

Expand Down
4 changes: 2 additions & 2 deletions runtime/compiler/jikes.vim
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: Jikes
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
" Last Change: 20 Jan 2009
" Last Change: 2019 Jul 23
" URL: http://dwsharp.users.sourceforge.net/vim/compiler

if exists("current_compiler")
Expand All @@ -14,5 +14,5 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
endif

" Jikes defaults to printing output on stderr
CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%\"
CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%:S\"
CompilerSet errorformat=%f:%l:%v:%*\\d:%*\\d:%*\\s%m
4 changes: 2 additions & 2 deletions runtime/compiler/onsgmls.vim
@@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: onsgmls
" Maintainer: Robert Rowsome <rowsome@wam.umd.edu>
" Last Change: 2004 Mar 27
" Last Change: 2019 Jul 23

if exists("current_compiler")
finish
Expand All @@ -15,7 +15,7 @@ endif
let s:cpo_save = &cpo
set cpo-=C

CompilerSet makeprg=onsgmls\ -s\ %
CompilerSet makeprg=onsgmls\ -s\ %:S

CompilerSet errorformat=onsgmls:%f:%l:%c:%t:%m,
\onsgmls:%f:%l:%c:%m
Expand Down
4 changes: 2 additions & 2 deletions runtime/compiler/perl.vim
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: Perl syntax checks (perl -Wc)
" Maintainer: Christian J. Robinson <heptite@gmail.com>
" Last Change: 2006 Aug 13
" Last Change: 2019 Jul 22

if exists("current_compiler")
finish
Expand All @@ -27,7 +27,7 @@ else
let s:taintopt = ''
endif

exe 'CompilerSet makeprg=perl\ -' . s:warnopt . s:taintopt . 'c\ %'
exe 'CompilerSet makeprg=perl\ -' . s:warnopt . s:taintopt . 'c\ %:S'

CompilerSet errorformat=
\%-G%.%#had\ compilation\ errors.,
Expand Down
2 changes: 1 addition & 1 deletion runtime/compiler/rustc.vim
Expand Up @@ -19,7 +19,7 @@ endif
if exists("g:rustc_makeprg_no_percent") && g:rustc_makeprg_no_percent != 0
CompilerSet makeprg=rustc
else
CompilerSet makeprg=rustc\ \%
CompilerSet makeprg=rustc\ \%:S
endif

" Old errorformat (before nightly 2016/08/10)
Expand Down
4 changes: 2 additions & 2 deletions runtime/compiler/splint.vim
Expand Up @@ -2,7 +2,7 @@
" Compiler: splint/lclint (C source code checker)
" Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
" Splint Home: http://www.splint.org/
" Last Change: 2005 Apr 21
" Last Change: 2019 Jul 23
" $Revision: 1.3 $

if exists("current_compiler")
Expand All @@ -19,7 +19,7 @@ set cpo-=C

" adapt this if you want to check more than one file at a time.
" put command line options in .splintrc or ~/.splintrc
CompilerSet makeprg=splint\ %
CompilerSet makeprg=splint\ %:S

" Note: when using the new array bounds checking flags: Each warning
" usually has several lines and several references to source code mostly
Expand Down
4 changes: 2 additions & 2 deletions runtime/compiler/xmlwf.vim
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: xmlwf
" Maintainer: Robert Rowsome <rowsome@wam.umd.edu>
" Last Change: 2004 Mar 27
" Last Change: 2019 Jul 23

if exists("current_compiler")
finish
Expand All @@ -15,7 +15,7 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=xmlwf\ %
CompilerSet makeprg=xmlwf\ %:S

CompilerSet errorformat=%f:%l%c:%m

Expand Down
6 changes: 3 additions & 3 deletions runtime/doc/channel.txt
@@ -1,4 +1,4 @@
*channel.txt* For Vim version 8.1. Last change: 2019 Jul 21
*channel.txt* For Vim version 8.1. Last change: 2019 Jul 28


VIM REFERENCE MANUAL by Bram Moolenaar
Expand All @@ -18,7 +18,7 @@ The Netbeans interface also uses a channel. |netbeans|
5. Channel commands |channel-commands|
6. Using a RAW or NL channel |channel-raw|
7. More channel functions |channel-more|
8. channel functions details |channel-functions-details|
8. Channel functions details |channel-functions-details|
9. Starting a job with a channel |job-start|
10. Starting a job without a channel |job-start-nochannel|
11. Job functions |job-functions-details|
Expand Down Expand Up @@ -462,7 +462,7 @@ For a JS or JSON channel this returns one decoded message.
This includes any sequence number.

==============================================================================
8. channel functions details *channel-functions-details*
8. Channel functions details *channel-functions-details*

ch_canread({handle}) *ch_canread()*
Return non-zero when there is something to read from {handle}.
Expand Down
6 changes: 2 additions & 4 deletions runtime/doc/cmdline.txt
@@ -1,4 +1,4 @@
*cmdline.txt* For Vim version 8.1. Last change: 2019 May 07
*cmdline.txt* For Vim version 8.1. Last change: 2019 Jul 21


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1064,8 +1064,7 @@ Also see |`=|.
In the command-line window the command line can be edited just like editing
text in any window. It is a special kind of window, because you cannot leave
it in a normal way.
{not available when compiled without the |+cmdline_hist| or |+vertsplit|
feature}
{not available when compiled without the |+cmdline_hist| feature}


OPEN *c_CTRL-F* *q:* *q/* *q?*
Expand Down Expand Up @@ -1140,7 +1139,6 @@ VARIOUS
The command-line window cannot be used:
- when there already is a command-line window (no nesting)
- for entering an encryption key or when using inputsecret()
- when Vim was not compiled with the |+vertsplit| feature

Some options are set when the command-line window is opened:
'filetype' "vim", when editing an Ex command-line; this starts Vim syntax
Expand Down
4 changes: 2 additions & 2 deletions runtime/doc/diff.txt
@@ -1,4 +1,4 @@
*diff.txt* For Vim version 8.1. Last change: 2019 Jun 02
*diff.txt* For Vim version 8.1. Last change: 2019 Jul 27


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -335,7 +335,7 @@ After setting this variable, reload the syntax script: >
FINDING THE DIFFERENCES *diff-diffexpr*

The 'diffexpr' option can be set to use something else than the standard
"diff" program to compare two files and find the differences.
"diff" program to compare two files and find the differences. *E959*

When 'diffexpr' is empty, Vim uses this command to find the differences
between file1 and file2: >
Expand Down
21 changes: 13 additions & 8 deletions runtime/doc/eval.txt
@@ -1,4 +1,4 @@
*eval.txt* For Vim version 8.1. Last change: 2019 Jul 21
*eval.txt* For Vim version 8.1. Last change: 2019 Jul 30


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1766,7 +1766,7 @@ v:exception The value of the exception most recently caught and not
:try
: throw "oops"
:catch /.*/
: echo "caught" v:exception
: echo "caught " .. v:exception
:endtry
< Output: "caught oops".

Expand Down Expand Up @@ -2956,7 +2956,7 @@ argv([{nr} [, {winid}])
The {winid} argument specifies the window ID, see |argc()|.


assert_ functions are documented here: |assert-functions|
assert_ functions are documented here: |assert-functions-details|


asin({expr}) *asin()*
Expand Down Expand Up @@ -4423,7 +4423,10 @@ get({blob}, {idx} [, {default}])
get({dict}, {key} [, {default}])
Get item with key {key} from |Dictionary| {dict}. When this
item is not available return {default}. Return zero when
{default} is omitted.
{default} is omitted. Useful example: >
let val = get(g:, 'var_name', 'default')
< This gets the value of g:var_name if it exists, and uses
'default' when it does not exist.
get({func}, {what})
Get an item with from Funcref {func}. Possible values for
{what} are:
Expand Down Expand Up @@ -4799,8 +4802,9 @@ getcwd([{winnr} [, {tabnr}]])
getenv({name}) *getenv()*
Return the value of environment variable {name}.
When the variable does not exist |v:null| is returned. That
is different from a variable set to an empty string.
See also |expr-env|.
is different from a variable set to an empty string, although
some systems interpret the empty value as the variable being
deleted. See also |expr-env|.

getfontname([{name}]) *getfontname()*
Without an argument returns the name of the normal font being
Expand Down Expand Up @@ -7162,7 +7166,8 @@ remove({blob}, {idx} [, {end}])
:call remove(mylist, 0, 9)
remove({dict}, {key})
Remove the entry from {dict} with key {key}. Example: >
Remove the entry from {dict} with key {key} and return it.
Example: >
:echo "removed " . remove(dict, "one")
< If there is no {key} in {dict} this is an error.

Expand Down Expand Up @@ -8829,7 +8834,7 @@ tempname() *tempname()* *temp-file-name*

term_ functions are documented here: |terminal-function-details|

test_ functions are documented here: |test-functions|
test_ functions are documented here: |test-functions-details|


*timer_info()*
Expand Down
12 changes: 7 additions & 5 deletions runtime/doc/if_lua.txt
@@ -1,4 +1,4 @@
*if_lua.txt* For Vim version 8.1. Last change: 2019 May 05
*if_lua.txt* For Vim version 8.1. Last change: 2019 Jul 21


VIM REFERENCE MANUAL by Luis Carvalho
Expand Down Expand Up @@ -32,17 +32,19 @@ Examples:
:lua local curbuf = vim.buffer() curbuf[7] = "line #7"
<

:[range]lua << {endmarker}
:[range]lua << [endmarker]
{script}
{endmarker}
Execute Lua script {script}.
Note: This command doesn't work when the Lua
feature wasn't compiled in. To avoid errors, see
|script-here|.

{endmarker} must NOT be preceded by any white space. If {endmarker} is
omitted from after the "<<", a dot '.' must be used after {script}, like
for the |:append| and |:insert| commands.
The {endmarker} must NOT be preceded by any white space.

If [endmarker] is omitted from after the "<<", a dot '.' must be used after
{script}, like for the |:append| and |:insert| commands.

This form of the |:lua| command is mainly useful for including Lua code
in Vim scripts.

Expand Down
11 changes: 9 additions & 2 deletions runtime/doc/if_mzsch.txt
@@ -1,4 +1,4 @@
*if_mzsch.txt* For Vim version 8.1. Last change: 2019 May 05
*if_mzsch.txt* For Vim version 8.1. Last change: 2019 Jul 21


VIM REFERENCE MANUAL by Sergey Khorev
Expand Down Expand Up @@ -39,14 +39,21 @@ To speed up the process, you might also want to use --disable-gracket and
:[range]mz[scheme] {stmt}
Execute MzScheme statement {stmt}.

:[range]mz[scheme] << {endmarker}
:[range]mz[scheme] << [endmarker]
{script}
{endmarker}
Execute inlined MzScheme script {script}.
Note: This command doesn't work if the MzScheme
feature wasn't compiled in. To avoid errors, see
|script-here|.

The {endmarker} below the {script} must NOT be
preceded by any white space.

If [endmarker] is omitted from after the "<<", a dot
'.' must be used after {script}, like for the
|:append| and |:insert| commands.

*:mzfile* *:mzf*
:[range]mzf[ile] {file} Execute the MzScheme script in {file}.

Expand Down
11 changes: 7 additions & 4 deletions runtime/doc/if_perl.txt
@@ -1,4 +1,4 @@
*if_perl.txt* For Vim version 8.1. Last change: 2019 May 05
*if_perl.txt* For Vim version 8.1. Last change: 2019 Jul 21


VIM REFERENCE MANUAL by Sven Verdoolaege
Expand Down Expand Up @@ -55,15 +55,18 @@ The ActiveState one should work, Strawberry Perl is a good alternative.
working: >
:perl VIM::Msg("Hello")
:pe[rl] << {endpattern}
:pe[rl] << [endpattern]
{script}
{endpattern}
Execute Perl script {script}.
{endpattern} must NOT be preceded by any white space.
If {endpattern} is omitted, it defaults to a dot '.'
The {endpattern} after {script} must NOT be preceded
by any white space.

If [endpattern] is omitted, it defaults to a dot '.'
like for the |:append| and |:insert| commands. Using
'.' helps when inside a function, because "$i;" looks
like the start of an |:insert| command to Vim.

This form of the |:perl| command is mainly useful for
including perl code in vim scripts.
Note: This command doesn't work when the Perl feature
Expand Down
12 changes: 7 additions & 5 deletions runtime/doc/if_pyth.txt
@@ -1,4 +1,4 @@
*if_pyth.txt* For Vim version 8.1. Last change: 2019 May 04
*if_pyth.txt* For Vim version 8.1. Last change: 2019 Jul 21


VIM REFERENCE MANUAL by Paul Moore
Expand Down Expand Up @@ -34,17 +34,19 @@ Both can be available at the same time, but read |python-2-and-3|.
the `:python` command is working: >
:python print "Hello"
:[range]py[thon] << {endmarker}
:[range]py[thon] << [endmarker]
{script}
{endmarker}
Execute Python script {script}.
Note: This command doesn't work when the Python
feature wasn't compiled in. To avoid errors, see
|script-here|.

{endmarker} must NOT be preceded by any white space. If {endmarker} is
omitted from after the "<<", a dot '.' must be used after {script}, like
for the |:append| and |:insert| commands.
The {endmarker} below the {script} must NOT be preceded by any white space.

If [endmarker] is omitted from after the "<<", a dot '.' must be used after
{script}, like for the |:append| and |:insert| commands.

This form of the |:python| command is mainly useful for including python code
in Vim scripts.

Expand Down

0 comments on commit 5477506

Please sign in to comment.