1
0
forked from aniani/vim

Update runtime files

This commit is contained in:
Bram Moolenaar
2022-06-24 11:48:03 +01:00
parent abd56da30b
commit a57b553b43
48 changed files with 204 additions and 115 deletions

View File

@@ -1,4 +1,4 @@
*channel.txt* For Vim version 8.2. Last change: 2022 Jun 04
*channel.txt* For Vim version 8.2. Last change: 2022 Jun 23
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -464,8 +464,10 @@ a close callback to the channel.
To read all normal output from a RAW channel that is available: >
let output = ch_readraw(channel)
To read the error output: >
To read all error output from a RAW channel that is available:: >
let output = ch_readraw(channel, {"part": "err"})
Note that if the channel is in NL mode, ch_readraw() will only return one line
for each call.
ch_read() and ch_readraw() use the channel timeout. When there is nothing to
read within that time an empty string is returned. To specify a different

View File

@@ -1,4 +1,4 @@
*options.txt* For Vim version 8.2. Last change: 2022 Jun 21
*options.txt* For Vim version 8.2. Last change: 2022 Jun 23
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4955,8 +4955,8 @@ A jump table for the options with a short description can be found at |Q_op|.
executing macros, registers and other commands that have not been
typed. Also, updating the window title is postponed. To force an
update use |:redraw|.
This may ocasionally cause display errors. It is only meant to be set
termporarily when performaing an operation where redrawing may cause
This may occasionally cause display errors. It is only meant to be set
temporarily when performing an operation where redrawing may cause
flickering or cause a slow down.
*'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*

View File

@@ -40,7 +40,6 @@ browser use: https://github.com/vim/vim/issues/1234
Prepare for the Vim 9.0 release:
- Update version9.txt
- Adjust intro message to say "help version9".
Further Vim9 improvements, possibly after launch:
- Use Vim9 for more runtime files.
@@ -203,6 +202,8 @@ Terminal emulator window:
Patches considered for including:
- use ngettext() in a few more places #10606
- move f_hasmapto() to map.c #10611
- allow for nesting of timeout, sketch in #10595
- Add "-n" option to xxd. #10599
- Support %e and %k in 'errorformat'. #9624
- Add support for "underdouble", "underdot" and "underdash". #9553

View File

@@ -1,4 +1,4 @@
*usr_40.txt* For Vim version 8.2. Last change: 2022 Jun 20
*usr_40.txt* For Vim version 8.2. Last change: 2022 Jun 23
VIM USER MANUAL - by Bram Moolenaar
@@ -464,7 +464,7 @@ The optional [++nested] flag allows for nesting of autocommands (see below),
and finally, {command} is the command to be executed.
When adding an autocommand the already existing ones remain. To avoid adding
the autocommand several time you should use this form: >
the autocommand several times you should use this form: >
:augroup updateDate
: autocmd!

View File

@@ -248,15 +248,18 @@ Fuzzy match support for |:vimgrep|.
Haiku support. |Haiku|
Support for "lsp" channel mode to simplify LSP server RPC communication
|language-server-protocol|.
|language-server-protocol|. Support for using a Unix domain socket with a
|channel|. IPv6 support in channels |channel-address|.
Support for sourcing lines from the current buffer. |:source-range|
Support for opening a terminal in a popup window. |popup-terminal|
Support for stopping profiling a Vim script: `:profile stop` and dumping the
report to a file: `:profile dump` . |:profile|
Argument completion support for the |:scriptnames|, |:profile|, |:profdel|,
|:breakadd| and |:breakdel| commands.
Argument completion support for the |:breakadd|, |:breakdel|, |:diffget|,
|:diffput|, |:profile|, |:profdel| and |:scriptnames| commands.
Support for setting the 'foldtext', 'completefunc', 'omnifunc',
'operatorfunc', 'thesaurusfunc', 'quickfixtextfunc', 'tagfunc',
@@ -287,17 +290,9 @@ suggestions.
Support for executing Ex commands in a map without changing the current mode
|<Cmd>| and |<ScriptCmd>|.
A large number of tests have been added to verify the Vim functionality. Most
of the old style tests have been converted to new style tests using the new
style assert_* functions.
Add optional error code to |:cquit|.
Support for using a Unix domain socket with a |channel|.
IPv6 support in channels |channel-address|.
Call Vim functions from Lua (vim.call('func', 'arg')).
Support for calling Vim functions from Lua (vim.call() and vim.fn()).
Recognize numbers as unsigned when "unsigned" is set in 'nrformats'.
@@ -305,7 +300,8 @@ Allow setting underline color in terminal.
Expand script ID using expand('<SID>'). |expand()|
Jump to the last accessed tab page using |g<Tab>|.
Jump to the last accessed tab page using |g<Tab>| and support using the
last accessed tab page in |:tabnext| et al.
Locale aware sorting using |:sort| and |sort()|.
@@ -343,15 +339,22 @@ adjust sign highlighting for 'cursorline'.
Add the |hl-CurSearch| default highlight group for the current search match.
Add the 'P' command in visual mode to paste text in visual mode without
yanking the deleted text to the unnamed register.
Add support for parsing the end line number (%e) and end column number
(%k) using 'errorformat'.
yanking the deleted text to the unnamed register. |put-Visual-mode|
Add support for logging on Vim startup (|--log|).
Add "/" in 'formatoptions' to stop inserting // when using "o" on a line with
inline comment.
inline comment. |fo-/|
Add support for customizing the quickfix buffer contents using
'quickfixtextfunc'. Support for the "note" error type (%t) in |errorformat|.
Add support for parsing the end line number (%e) and end column number (%k)
using 'errorformat'.
Support truncating the tag stack using |settagstack()|.
Support using any Vim type for user_data with the completion functions
(|complete-items|).
Display every option in a separate line when "!" is used with |:set|.
@@ -367,6 +370,74 @@ using "skiprtp" in 'sessionoptions'.
Stop insert mode completion without changing text (|i_CTRL-X_CTRL-Z|).
Support for getting the number of lines (linecount) in a buffer using
|getbufinfo()|.
Support |filter()| and |map()| for blob and string types.
Support for using a multi-byte character for the tag kind. |tags-file-format|
Add support for checking whether a function name is valid using |exists()|.
Update xdiff to version 2.33. Update libvterm to revision 789.
Added support for the |Haiku| OS.
Support 'trim' for Python/Lua/Perl/Tcl/Ruby/MzScheme interface heredoc.
Add the |t_AU| and |t_8u| termap codes for underline and undercurl. Add the
t_fd and t_fe termcap codes for detecting focus events.
Support for indenting C pragmas like normal code. (|cino-P|)
Add support for defining the syntax fold level (|:syn-foldlevel|)
Add support for using \<*xxx> in a string to prepend a modifier to a
character. (|expr-quote|).
Add support trimming characters at the beginning or end of a string using
|trim()|.
Make ":verbose pwd" show the scope of the directory. |:pwd-verbose|
Add the "0o" notation for specifying octal numbers |scriptversion-4|
Support for changing to the previous tab-local and window-local directories
using the "tcd -" and "lcd -" commands. (|:tcd-| and |:lcd-|)
Add support for skipping an expression using |search()|.
Add the "cmdline" option to |getcompletion()| to return the command line
arguments.
Add support for spell checking CamelCased words by adding "camel" to
'spelloptions'.
Add support for importing Vim scripts using |:import| from a Vimscript.
Add support for sorting the directory contents returned by the |readdir()|
and |readdirex()| functions by case.
Add support for executing (|:@|) a register containing line continuation.
Convert a Lua function and a closure to a Vim funcref so that it can be
accessed in a Vimscript. (|lua-funcref|) Make Lua arrays one based.
Add table.insert() and table.remove() functions.
Support mouse left-right scrolling in a terminal window.
Updated colorschemes from https://github.com/vim/colorschemes is included.
TermDebug enhancements:
Support for showing the disassembled code in a separate window. Support for
the GDB until command. Use a separate group for the signs.
A large number of tests have been added to verify the Vim functionality. Most
of the old style tests have been converted to new style tests using the new
style assert_* functions.
Many Coverity static analysis warnings are fixed.
TODO: more
==============================================================================
@@ -383,9 +454,9 @@ The following features are now enabled in all the builds:
The following features have been removed. They are either obsolete or didn't
work properly:
- Athena GUI support (use Motif instead)
- Athena and neXTaw GUI support (use Motif instead)
- EBCDIC support
- Atari MiNT
- Atari MiNT and BeOS
- Mac Carbon GUI (use MacVim instead)
The rgb.txt file is no longer included, use colors/lists/default.vim instead.
@@ -393,6 +464,8 @@ The rgb.txt file is no longer included, use colors/lists/default.vim instead.
Several source files were split, mainly to make it easier to inspect code
coverage information.
Support for building Vim with Mingw64 clang compiler on MS-Windows.
==============================================================================
PATCHES *patches-9* *bug-fixes-9*
*patches-after-8.2*

View File

@@ -30,6 +30,12 @@ for x in [
eval 0
endfor
let t = [
\ {
\ 'k': 'val',
\ },
\ ]
" END_INDENT
" START_INDENT

View File

@@ -30,6 +30,12 @@ for x in [
eval 0
endfor
let t = [
\ {
\ 'k': 'val',
\ },
\ ]
" END_INDENT
" START_INDENT

View File

@@ -1,7 +1,7 @@
" Vim indent file
" Language: Vim script
" Maintainer: Bram Moolenaar <Bram@vim.org>
" Last Change: 2022 Mar 01
" Last Change: 2022 Jun 24
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
@@ -36,6 +36,14 @@ endfunc
let s:lineContPat = '^\s*\(\\\|"\\ \)'
function GetVimIndentIntern()
" If the current line has line continuation and the previous one too, use
" the same indent. This does not skip empty lines.
let cur_text = getline(v:lnum)
let cur_has_linecont = cur_text =~ s:lineContPat
if cur_has_linecont && v:lnum > 1 && getline(v:lnum - 1) =~ s:lineContPat
return indent(v:lnum - 1)
endif
" Find a non-blank line above the current line.
let lnum = prevnonblank(v:lnum - 1)
@@ -44,8 +52,7 @@ function GetVimIndentIntern()
" If the current line doesn't start with '\' or '"\ ' and below a line that
" starts with '\' or '"\ ', use the indent of the line above it.
let cur_text = getline(v:lnum)
if cur_text !~ s:lineContPat
if !cur_has_linecont
while lnum > 0 && getline(lnum) =~ s:lineContPat
let lnum = lnum - 1
endwhile

View File

@@ -16,12 +16,6 @@ LANG = af am bg br ca cs cy da de el en eo es fr fo ga gd gl he hr id it
diff: $*LANG/diff
:print Done.
# Use "aap publish" to upload the .spl files.
SPL_files = eu.utf-8.spl
UPDIR = rsync://bram@ftp1.nluug.nl//var/ftp/pub/vim/runtime/spell
:attr {publish = $UPDIR/%file%} $SPL_files
@for l in string.split(_no.LANG):
:child $l/main.aap