summaryrefslogtreecommitdiffstats
path: root/runtime/doc
AgeCommit message (Collapse)Author
2 dayspatch 9.1.0543: Behavior of CursorMovedC is strangev9.1.0543zeertzjq
Problem: Behavior of CursorMovedC is strange. Solution: Also trigger when the cmdline has changed. (zeertzjq) fixes: #15069 closes: #15071 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2 dayspatch 9.1.0540: Unused assignment in sign_define_cmd()v9.1.0540zeertzjq
Problem: Unused assignment in sign_define_cmd() Solution: Remove the assignment. Also document the "priority" flag of sign_define(). (zeertzjq) closes: #15169 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2 daysruntime(doc): add page-scrolling keys to index.txtChristian Brabandt
Also add the newly documented keys from commit 6a4afb1efca1bac5fbc0281804591cf0a52b2d81 to index.txt which was forgotten. related: #15107 Signed-off-by: Christian Brabandt <cb@256bit.org>
2 daysruntime(doc): add reference to xterm-focus-event from FocusGained/LostChristian Brabandt
fixes: #15157 Signed-off-by: Christian Brabandt <cb@256bit.org>
2 daysruntime(doc): clarify how to re-init csv syntax fileChristian Brabandt
fixes: #15161 Signed-off-by: Christian Brabandt <cb@256bit.org>
3 dayspatch 9.1.0538: not possible to assign priority when defining a signv9.1.0538LemonBoy
Problem: not possible to assign priority when defining a sign (Mathias Fußenegger) Solution: Add the priority argument for the :sign-define ex command and the sign_define() function (LemonBoy) Use the specified value instead of the default one (SIGN_DEF_PRIO) when no priority is explicitly specified in sign_place or :sign place. fixes: #8334 closes: #15124 Signed-off-by: LemonBoy <thatlemon@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
3 dayspatch 9.1.0537: signed number detection for CTRL-X/A can be improvedv9.1.0537distobs
Problem: signed number detection for CTRL-X/A can be improved (Chris Patuzzo) Solution: Add the new "blank" value for the 'nrformat' setting. This will make Vim assume a signed number only if there is a blank in front of the sign. (distobs) fixes: #15033 closes: #15110 Signed-off-by: distobs <cuppotatocake@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
4 daysCI: Pre-v9.0.0110 versions generate bogus documentation tag entriesAliaksei Budavei
Problem: CI: Pre-v9.0.0110 versions generate bogus documentation tag entries Solution: Set $VIMPROG to the freshly compiled Vim (Aliaksei Budavei) related: #10813 related: #15099 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
4 daysruntime(doc): Remove wrong help tag CTRL-SHIFT-CRChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 daysruntime(doc): document further keys that scroll page up/downChristian Brabandt
fixes: #15107 Signed-off-by: Christian Brabandt <cb@256bit.org>
5 dayspatch 9.1.0529: silent! causes following try/catch to not workv9.1.0529LemonBoy
Problem: silent! causes following try/catch to not work (Malcolm Rowe) Solution: consider emsg_silent in handle_did_throw() and do not abort evaluation flow for :silent! (LemonBoy) The silent! flag causes the evaluation not to be aborted in case of uncaught exceptions, adjust handle_did_throw to take this detail into account. Fixes the long-standing todo.txt item: ``` Problem that a previous silent ":throw" causes a following try/catch not to work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24) Also see #8487 for an example. ``` fixes: #538 closes: #15128 Signed-off-by: LemonBoy <thatlemon@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
5 dayspatch 9.1.0527: inconsistent parameter in Makefiles for Vim executablev9.1.0527RestorerZ
Problem: inconsistent parameter in Makefiles for Vim executable Solution: consistently use $VIMPROG across all Makefiles (RestorerZ) closes: #15099 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
5 daysruntime(doc): mention $XDG_CONFIG_HOME instead of $HOME/.configChristian Brabandt
This makes it more consistent with :h vimrc and is more correct (in the case when $XDG_CONFIG_HOME has been defined to point to some other location. fixes: #15108 Signed-off-by: Christian Brabandt <cb@256bit.org>
5 daysruntime(termdebug): Add Deprecation warningsUbaldo Tiberi
closes: #15091 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@google.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
6 daysruntime(doc): rename variable for pandoc markdown supportChristian Brabandt
fixes: #15141 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-24runtime(doc): In builtin overview use {buf} as param for ↵errael
appendbufline/setbufline (#15089) Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-23runtime(doc): clarify, that register 1-9 will always be shiftedChristian Brabandt
related: #15077 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-23runtime(java): Compose "g:java_highlight_signature" and ↵Aliaksei Budavei
"g:java_highlight_functions" With the variables defined, distinctly highlight parts of a method declaration header: its name and parameter list parens, from its type parameters, return type, and formal parameters; and distinctly highlight parts of a lambda expression: its parameter list parens and the arrow, from its formal parameters and identifiers. closes: #15083 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-21patch 9.1.0511: CursorMovedC triggered wrongly with setcmdpos()v9.1.0511zeertzjq
Problem: CursorMovedC triggered wrongly with setcmdpos() (after v9.1.0507) Solution: Remove the premature triggering. Also don't trigger when cursor didn't move. (zeertzjq) closes: #15064 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-20patch 9.1.0509: not possible to translate Vim script messagesv9.1.0509Christ van Willegen
Problem: not possible to translate Vim script messages (RestorerZ) Solution: implement bindtextdomain() and gettext() to support Vim script message translations (Christ van Willegen) fixes: #11637 closes: #12447 Signed-off-by: Christ van Willegen <cvwillegen@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-20patch 9.1.0508: termdebug plugin can be further improvedv9.1.0508Ubaldo Tiberi
Problem: termdebug plugin can be further improved Solution: add sanity-check, timeout config, change vars to bool update docs, add more tests (Ubaldo Tiberi) fixes: #15061 closes: #15057 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@google.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-20patch 9.1.0507: hard to detect cursor movement in the command linev9.1.0507Shougo Matsushita
Problem: hard to detect cursor movement in the command line Solution: Add the CursorMovedC autocommand (Shougo Matsushita) closes: #15040 Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-20runtime(java): Optionally highlight parameterised typesAliaksei Budavei
In the presence of parameterised types whose names begin with a capital letter and end with a less-than sign "<" that introduces a type argument or a list of comma-separated type arguments, followed by a greater-than sign ">", a variable "g:java_highlight_generics" can be defined to have some components of such types uniformly coloured (by picking highlight groups for javaGenericsC{1,2}, javaWildcardBound). For example, ------------------------------------------------------------ java.io.InputStream stream = java.io.InputStream.nullInputStream(); java.util.function.Function<String, java.util.function.BiFunction<String, String, String>> updater = property -> (oldValue, newValue) -> oldValue; java.util.logging.LogManager.getLogManager() .updateConfiguration(stream, updater); ------------------------------------------------------------ Note that the diamond form and explicit type arguments do not qualify for this kind of recognition. For example, ------------------------------------------------------------ new java.util.HashSet<>().<String>toArray(new String[0]); ------------------------------------------------------------ References: https://docs.oracle.com/javase/specs/jls/se21/html/jls-4.html#jls-4.5 https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.9 https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.12.2.1 closes: #15050 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-19patch 9.1.0505: filetype: Faust files are not recognizedv9.1.0505PowerUser64
Problem: filetype: Faust files are not recognized Solution: Detect '*.lib' files as Faust filetype, add detection for '*.dsp' files (Faust or Make), remove '*.lib' from Cobol filetype (PowerUser64) closes: #14894 Signed-off-by: PowerUser64 <blake@blakenorth.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-19patch 9.1.0503: cannot use fuzzy keyword completionv9.1.0503glepnir
Problem: cannot use fuzzy keyword completion (Maxim Kim) Solution: add the "fuzzycollect" value for the 'completeopt' setting, to gather matches using fuzzy logic (glepnir) fixes: #14912 closes: #14976 Signed-off-by: glepnir <glephunter@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-19runtime(doc): wrong return type for execute() functionMarius Gedminas
The description clearly explains that this function returns a string. I think the 'Number' here is a copy/paste error. closes: #15045 Signed-off-by: Marius Gedminas <marius@gedmin.as> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-19runtime(nohlsearch): simplify mappingMaxim Kim
Use <cmd> instead of <expr> with execute(...)[-1] closes: #15047 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-18patch 9.1.0500: cannot switch buffer in a popupv9.1.0500Christian Brabandt
Problem: cannot switch buffer in a popup (Yggdroot) Solution: add popup_setbuf() function fixes: #15006 closes: #15026 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-18patch 9.1.0497: termdebug can be further improvedv9.1.0497Ubaldo Tiberi
Problem: termdebug can be further improved Solution: refactor save/restore, update docs, add a new save/restore test (Ubaldo Tiberi) closes: #15032 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@google.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-18runtime(nohlsearch): include the the simple nohlsearch packageMaxim Kim
fixes: #15039 closes: #15042 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-17patch 9.1.0495: Matched text isn't highlighted in cmdline pumv9.1.0495zeertzjq
Problem: Matched text isn't highlighted in cmdline pum. Solution: Use cmdline completion pattern in cmdline mode. (zeertzjq) closes: #15029 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-17runtime(doc): Fix typos in several documentsh-east
closes: #15034 Signed-off-by: h-east <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-17runtime(doc): clarify when text properties are clearedChristian Brabandt
related: #15030 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-17runtime(doc): improve the vim-shebang exampleChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-17runtime(doc): revert unintended formatting changes for termdebugChristian Brabandt
fixes: #15028 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-16runtime(java): Add a config variable for commonly used compiler optionsDoug Kearns
The value of g:javac_makeprg_params, if set, is added to the value of 'makeprg' as an option string. closes: #14999 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-15runtime(doc): add another tag for vim-shebang featureChristian Brabandt
related: #15011 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-14runtime(doc): fix wrong helptag for :deferChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-13runtime(doc): rewrite mkdir() doc and simplify {flags} meaningChristian Brabandt
related: #14991 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-13runtime(doc): update return type for job_info()Christian Brabandt
related: #14982 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-13runtime(doc): correct return types for job_start() and job_status()Christian Brabandt
fixes: #14982 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-13patch 9.1.0481: Vim9: term_getjob() throws an exception on errorv9.1.0481Ernie Rael
Problem: Vim9: term_getjob() throws an exception on error Solution: Return null_job instead, when there is no job (Ernie Rael) closes: #14984 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-13patch 9.1.0479: fuzzy_match_str_with_pos() does unnecessary list operationsv9.1.0479zeertzjq
Problem: fuzzy_match_str_with_pos() does unnecessary list operations. Solution: Use fuzzy_match() directly (zeertzjq). closes: #14987 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-13runtime(doc): restore description of "$" in col() and virtcol() (#14981)zeertzjq
These are different from line() and getpos(). Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-12runtime(doc): deduplicate getpos(), line(), col(), virtcol()zeertzjq
Move the main description to getpos() and link to that from the other functions. closes: #14970 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-11runtime(vim): Update base-syntax, configurable comment string highlighting ↵dkearns
(#14931) Allow highlighting of strings within comments to be disabled by setting g:vimsyn_comment_strings to false. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-11runtime(doc): fix typos in syntax.txtKen Takata
Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-11patch 9.1.0476: Cannot see matched text in popup menuv9.1.0476glepnir
Problem: Cannot see matched text in popup menu Solution: Introduce 2 new highlighting groups: PmenuMatch and PmenuMatchSel (glepnir) ping @habamax, @neutaaaaan @romainl because vim/colorschemes may need some updates, @lifepillar for updating vim-colortemplate closes: #14694 Signed-off-by: glepnir <glephunter@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-11runtime(doc): clarify documentation for "v" position at line()Peter Aronoff
Problem: the previous documentation falsely states that "v" always refers to the start of a visual area. In fact, the reference of "v" and "." complement each other. If the cursor is at the start of a (characterwise) visual area, then "v" refers to the end of the area. Solution: be more verbose and explicit about the connection between "." and "v" and also refer to |v_o| which many vim users will be familiar with for visual areas. Signed-off-by: Peter Aronoff <peter@aronoff.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-09runtime(doc): Added definitions of Vim scripts and pluginsUbaldo Tiberi
closes: #14935 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>