Skip to content

Commit

Permalink
Update runtime files
Browse files Browse the repository at this point in the history
  • Loading branch information
brammool committed Aug 14, 2021
1 parent bfb2bb1 commit 6aa5729
Show file tree
Hide file tree
Showing 35 changed files with 1,650 additions and 284 deletions.
16 changes: 16 additions & 0 deletions runtime/compiler/scdoc.vim
@@ -0,0 +1,16 @@
" scdoc compiler for Vim
" Compiler: scdoc
" Maintainer: Greg Anders <greg@gpanders.com>
" Last Updated: 2019-10-24

if exists('current_compiler')
finish
endif
let current_compiler = 'scdoc'

if exists(':CompilerSet') != 2
command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=scdoc\ <\ %\ 2>&1
CompilerSet errorformat=Error\ at\ %l:%c:\ %m,%-G%.%#
4 changes: 2 additions & 2 deletions runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
*autocmd.txt* For Vim version 8.2. Last change: 2021 Jul 27
*autocmd.txt* For Vim version 8.2. Last change: 2021 Aug 01


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -76,7 +76,7 @@ and in a `:def` function) then {cmd} will be executed as in Vim9
script. Thus this depends on where the autocmd is defined, not where it is
triggered.

{cmd} can use a block, like with `:command`, see |:command-repl|. Example: >
{cmd} can be a block, like with `:command`, see |:command-repl|. Example: >
au BufReadPost *.xml {
setlocal matchpairs+=<:>
/<start
Expand Down
8 changes: 4 additions & 4 deletions runtime/doc/channel.txt
Expand Up @@ -536,7 +536,7 @@ ch_evalraw({handle}, {string} [, {options}]) *ch_evalraw()*
GetChannel()->ch_evalraw(rawstring)
ch_getbufnr({handle}, {what}) *ch_getbufnr()*
Get the buffer number that {handle} is using for {what}.
Get the buffer number that {handle} is using for String {what}.
{handle} can be a Channel or a Job that has a Channel.
{what} can be "err" for stderr, "out" for stdout or empty for
socket output.
Expand Down Expand Up @@ -586,8 +586,8 @@ ch_info({handle}) *ch_info()*
ch_log({msg} [, {handle}]) *ch_log()*
Write {msg} in the channel log file, if it was opened with
|ch_logfile()|.
Write String {msg} in the channel log file, if it was opened
with |ch_logfile()|.
When {handle} is passed the channel number is used for the
message.
{handle} can be a Channel or a Job that has a Channel. The
Expand Down Expand Up @@ -625,7 +625,7 @@ ch_open({address} [, {options}]) *ch_open()*
Open a channel to {address}. See |channel|.
Returns a Channel. Use |ch_status()| to check for failure.

{address} has the form "hostname:port", e.g.,
{address} is a String and has the form "hostname:port", e.g.,
"localhost:8765".

When using an IPv6 address, enclose it within square brackets.
Expand Down
9 changes: 7 additions & 2 deletions runtime/doc/cmdline.txt
@@ -1,4 +1,4 @@
*cmdline.txt* For Vim version 8.2. Last change: 2021 May 30
*cmdline.txt* For Vim version 8.2. Last change: 2021 Aug 06


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -170,7 +170,12 @@ CTRL-R {register} *c_CTRL-R* *c_<C-R>*
too.
When the result is a Float it's automatically
converted to a String.
See |registers| about registers.
Note that when you only want to move the
cursor and not insert anything, you must make
sure the expression evaluates to an empty
string. E.g.: >
<C-R><C-R>=setcmdpos(2)[-1]<CR>
< See |registers| about registers.
Implementation detail: When using the |expression| register
and invoking setcmdpos(), this sets the position before
inserting the resulting string. Use CTRL-R CTRL-R to set the
Expand Down

0 comments on commit 6aa5729

Please sign in to comment.