summaryrefslogtreecommitdiffstats
path: root/runtime/doc
AgeCommit message (Collapse)Author
2024-05-17patch 9.1.0418: Cannot move to previous/next rare wordv9.1.0418Christ van Willegen - van Noort
Problem: Cannot move to previous/next rare word (Colin Kennedy) Solution: Add the ]r and [r motions (Christ van Willegen) fixes: #14773 closes: #14780 Signed-off-by: Christ van Willegen - van Noort <github.com@vanwillegen-vannoort.nl> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-17patch 9.1.0417: if_py: find_module has been removed in Python 3.12.0a7v9.1.0417Christian Brabandt
Problem: if_py: find_module has been removed in Python 3.12.0a7 (@Ghost-LZW) Solution: Do not include find_module for Python >= 3.12.0a7 fixes: #14776 closes: #14781 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-17runtime(doc): clarify instal instructions for comment packageChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-16runtime(doc): fix typo in vim9script help file (#14782)jbm950
This commit fixes a typo in the first example of the vim9script help file. Trying to execute the given example before resulted in a "trailing characters" error. Signed-off-by: jbm950 <jmilam343@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-16runtime(doc): Remove trailing spaces (#14784)K.Takata
Fix the issues introduced by #14770.
2024-05-15runtime(doc): clarify {special} argument for shellescape()Enno
closes: #14770 Signed-off-by: Enno <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-15runtime(doc): add missing entries for the keys CTRL-W g<Tab> and <C-Tab>Christian Brabandt
fixes: #14777 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-15runtime(doc): update vi_diff.txt: add default value for 'flash'Cthulhux
The "flash" option was added relatively late and seems to be exclusive to System V. (It's not in 4.4BSD and it's not in V8 UNIX, checked [on TUHS](https://www.tuhs.org/cgi-bin/utree.pl).) The oldest occurrence of `flash` in "a vi" I could find is in SysV R2 for the VAX, where it [defaults to 1](https://github.com/ryanwoodsmall/oldsysv/blob/master/sysvr2-vax/src/cmd/vi/vax/ex_data.c) = on. closes: #14778 Signed-off-by: Cthulhux <github@tuxproject.de> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-12runtime(doc): fix typo in usr_52.txtChristian Brabandt
fixes: #14758 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-11runtime(doc): update and remove some invalid linksChristian Brabandt
closes: #14748 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10translation(it): update translation of xxd manpageAntonio Giovanni Colombo
Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-10patch 9.1.0404: [security] xxd: buffer-overflow with specific flagsv9.1.0404Lennard Hofmann
Problem: [security] xxd: buffer-overflow with specific flags Solution: Correctly calculate the required buffer space (Lennard Hofmann) xxd writes each output line into a global buffer before printing. The maximum size of that buffer was not calculated correctly. This command was crashing in AddressSanitizer: $ xxd -Ralways -g1 -c256 -d -o 9223372036854775808 /etc/passwd This prints a line of 6680 bytes but the buffer only had room for 6549 bytes. If the output from "-b" was colored, the line could be even longer. closes: #14738 Co-authored-by: K.Takata <kentkt@csc.jp> Signed-off-by: Lennard Hofmann <lennard.hofmann@web.de> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-08runtime(netrw): Remove and cleanup Win9x legacy from netrwNir Lichtman
closes: #14732 Signed-off-by: Nir Lichtman <nir@lichtman.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-07runtime(doc): add MsgArea to 'highlight' option descriptionChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-07patch 9.1.0394: Cannot get a list of positions describing a regionv9.1.0394Shougo Matsushita
Problem: Cannot get a list of positions describing a region (Justin M. Keyes, after v9.1.0120) Solution: Add the getregionpos() function (Shougo Matsushita) fixes: #14609 closes: #14617 Co-authored-by: Justin M. Keyes <justinkz@gmail.com> Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-05runtime(doc): Fix typos in help documentsh-east
closes: #14720 Co-authored-by: Christian Clason <c.clason@uni-graz.at> Signed-off-by: h-east <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-04patch 9.1.0393: 'viewdir' not respecting $XDG_CONFIG_HOMEv9.1.0393Christian Brabandt
Problem: 'viewdir' not respecting $XDG_CONFIG_HOME (Danilo Rezende, after v9.1.327) Solution: adjust 'viewdir' option when enabling XDG config mode fixes: #14680 closes: #14708 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-04runtime(doc): correct getscriptinfo() example (#14718)zeertzjq
When "sid" is specified, it returns a List with a single item. Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-03patch 9.1.0391: Vim9: could improve testingv9.1.0391Yegappan Lakshmanan
Problem: Vim9: could improve testing (Ernie Rael) Solution: Support defcompile for test_override() to improve testing (Yegappan Lakshmanan) fixes: #14553 closes: #14712 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-01runtime(doc): regenerate helptags (#14695)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-01runtime(doc): Add tags about lazyloading of menu (#14688)K.Takata
Close #14672 Also add the `g:` prefix. Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29patch 9.1.0381: cbuffer and similar commands don't accept a rangev9.1.0381Christian Brabandt
Problem: cbuffer and similar quickfix and locationlist commands don't accept a range, even so it is documented they should (ilan-schemoul, after 8.1.1241) Solution: Define ex commands with ADDR_LINES instead of ADDR_OTHER fixes: #14638 closes: #14657 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29runtime(java): Improve the recognition of the "indent" method declarations ↵Aliaksei Budavei
(#14659) There is a flaw in the current implementation that has been exacerbated around v5.2. It lies in the recognition of all three indentation styles simultaneously: a tab, two space, and eight space character(s). With it, it is not uncommon to misidentify various constructs as method declarations when they belong to two-space indented members and other blocks of a type and are offset at eight space characters or a tab from the start of the line. For example, ------------------------------------------------------------ class Test { static String hello() { return "hello"; } public static void main(String[] args) { try { if (args.length > 0) { // FIXME: eight spaces. System.out.println(args[0]); } else { // FIXME: a tab. System.out.println(hello()); } } catch (Exception e) { throw new Error(e); } } } ------------------------------------------------------------ ------------------------------------------------------------ :let g:java_highlight_functions = 'indent' :doautocmd Syntax ------------------------------------------------------------ A better approach is to pick an only indentation style out of all supported styles (so either two spaces _or_ eight spaces _or_ a tab). Note that tabs and spaces can still be mixed, only the leading tab or the leading run of spaces matters for the recognition. And there is no reason to not complement the set of valid styles with any number of spaces from 1 to 8, inclusively. Please proceed with the necessary change as follows: - rename from "indent" to "indent2" for a 2-space run; - rename from "indent" to "indent8" for an 8-space run; - continue to have "indent" for a tab run; - define an "indent" variable with a suffix number denoting the preferred amount of indentation for any other run of spaces [1-8]. As before, this alternative style of recognition of method declarations still does not prescribe naming conventions and still cannot recognise method declarations in nested types that are conventionally indented. The proposed changes also follow suit of "style" in stopping the claiming of constructor and enum constant declarations. Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-29runtime(doc): Fix a typo in usr_30.txtUM-Li
closes: #14662 Signed-off-by: UM-Li <um-li@tuta.io> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27runtime(doc): CI: remove trailing white space in documentationChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27patch 9.1.0376: Vim9: Trailing commands after class/enum keywords ignoredv9.1.0376Yegappan Lakshmanan
Problem: Vim9: Trailing commands after class/enum keywords ignored Solution: Remove EX_TRLBAR keyword from command definition (Yegappan Lakshmanan) closes: #14649 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-27runtime(doc): update helptags for jq syntax (#14646)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(jq): include syntax, ftplugin and compiler pluginVito
closes: #14619 Signed-off-by: Vito <vito.blog@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(doc): fix typo synconcealend -> synconcealed (#14644)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(comment): include a simple comment toggling pluginMaxim Kim
fixes #14626 closes: #14634 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(doc): fix typoChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(doc): clarify syntax vs matching mechanismChristian Brabandt
fixes: #14643 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-25runtime(doc): clarify the effect of setting the shell to powershellChristian Brabandt
fixes: #14636 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-22runtime(doc): update documentationRestorerZ
closes: #14616 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-21runtime(astro): Add filetype, syntax and indent pluginPhilip H
related: #14558 closes: #14561 ported from: https://github.com/wuelnerdotexe/vim-astro Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-21runtime(doc): minor spell fix in starting.txtDiego Viola
closes: #14608 Signed-off-by: Diego Viola <diego.viola@gmail.com>
2024-04-20runtime(doc): align command line tableChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-19runtime(doc): minor fixes to starting.txtDiego Viola
closes: #14593 Signed-off-by: Diego Viola <diego.viola@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-18runtime(java): Support "g:ftplugin_java_source_path" with archived filesAliaksei Budavei
Also, document for "g:ftplugin_java_source_path" its current modification of the local value of the 'path' option. closes: #14570 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-17patch 9.1.0345: Problem: gvimrc not sourced from XDG_CONFIG_HOMEv9.1.0345Maxim Kim
Problem: gvimrc not sourced from XDG_CONFIG_HOME (after v9.1.0327) Solution: Also try to source from ~/.config/vim/gvimrc and $XDG_CONFIG_HOME/vim/gvimrc (Maxim Kim) fixes: #14567 closes: #14568 Signed-off-by: Maxim Kim <habamax@haba-debian.habamax> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-15runtime(doc): document pandoc compiler and enable configuring argumentsKonfekt
closes: #14550 Signed-off-by: Konfekt <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-15runtime(doc): fix typos in starting.txtDiego Viola
closes: #14559 Signed-off-by: Diego Viola <diego.viola@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-14patch 9.1.0329: String interpolation fails for Dict typev9.1.0329Yegappan Lakshmanan
Problem: String interpolation fails for Dict type Solution: Support Dict data type properly, also support :put =Dict (without having to convert it to string() first) (Yegappan Lakshmanan) fixes: #14529 closes: #14541 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-14patch 9.1.0327: No support for using $XDG_CONFIG_HOMEv9.1.0327Luca Saccarola
Problem: No support for using $XDG_CONFIG_HOME Solution: optionally source $XDG_CONFIG_HOME/vim/vimrc (Luca Saccarola) fixes: #2034 closes: #14182 Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-14patch 9.1.0321: Garbled output on serial terminals with XON/XOFF flow controlv9.1.0321Anton Sharonov
Problem: When used terminal with XON/XOFF flow control, vim tries to still make CTRL-S mapping available, which results in severe screen corruption, especially on large redraws, and even spurious inputs (John Tsiombikas) Solution: Disallow CTRL-S mapping if such terminal is recognized. Don't remove IXON from the bitmask inversion. (Anton Sharonov) *** When started like this: TERM=vt420 vim :set termcap shows "t_xon=y" map <C-S> :echo "abc"<CR> does nothing (after <C-S> output freezes and subsequent <C-Q> unfreezes it) *** When started like this: TERM=xterm vim :set termcap shows "t_xon=" map <C-S> :echo "abc"<CR> works (after <C-S> one see "abc" string echo-ed) fixes: #12674 closes: #14542 Signed-off-by: Anton Sharonov <anton.sharonov@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-13runtime(vim): Update base-syntax, add legacy header foldingDoug Kearns
Allow for syntax-based folding of Vim9 script legacy header regions. This is enabled with the "H" flag of the g:vimsyn_folding config variable. closes: #14530 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: Doug Kearns <dougkearns@gmail.com>
2024-04-13patch 9.1.0314: Vim9: Can define a class in a functionv9.1.0314Yegappan Lakshmanan
Problem: Vim9: Can define a class in a function (Doug Kearns) Solution: Give an error for a class defined in a function, slightly reword some public error messages (Yegappan Lakshmanan) fixes: #13184 fixes: #13326 closes: #14537 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-12patch 9.1.0312: heredocs are not supported for :commandsv9.1.0312Yegappan Lakshmanan
Problem: heredocs are not supported for :commands (@balki) Solution: Add heredoc support (Yegappan Lakshmanan) fixes: #14491 closes: #14528 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-12runtime(doc): mention :argded for :argeditChristian Brabandt
related: #14464 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-11runtime(doc): typo in intro.txtAntonio Giovanni Colombo