summaryrefslogtreecommitdiffstats
path: root/runtime
AgeCommit message (Collapse)Author
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-12runtime(vim): Update g:vimsyn_comment_strings dump file testsDoug Kearns
Leading whitespace is no longer matched as part of the line comment as of #13936. closes: #14971 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-12runtime(termdebug): Use string interpolation instead of string concatYegappan Lakshmanan
closes: #14972 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.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(vim): Update base-syntax, match multiline continued comments (#13936)dkearns
Match multiline (continued) line comments. Continued tail comments are not supported yet. Signed-off-by: Doug Kearns <dougkearns@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-11runtime(termdebug): remove line-continuation charactersYegappan Lakshmanan
Those are no longer needed for Vim9. related: #14961 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-11runtime(kdl): use shiftwidth() instead of &tabstop in indent scriptYinzuo Jiang
closes: #14962 Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-11runtime(vim): Remove orphaned screen dump files (#14965)dkearns
These are no longer generated by the current test input files. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-10runtime(kdl): include syntax, indent and ftplugin filesinzuo Jiang
closes: #14956 Co-authored-by: Aram Drevekenin <aram@poor.dev> Signed-off-by: inzuo Jiang <jiangyinzuo@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-10runtime(deb822sources): add missing Enabled field in syntax scriptKentaro Hayashi
closes: #14898 It lacks the support of Enabled: boolean option field [1]: e.g. Types: deb Uris: https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ Components: main Suites: vscodium Architectures: amd64 i386 arm64 armhf Enabled: yes Signed-By: /var/lib/extrepo/keys/vscodium.asc This patch was also forwarded to upstream. [2] [1] https://manpages.debian.org/unstable/apt/sources.list.5.en.html#DEB822-STYLE_FORMAT [2] https://salsa.debian.org/vim-team/vim-debian/-/merge_requests/16 Signed-off-by: Kentaro Hayashi <kenhys@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-10runtime(svelte): basic svelte ftplugin fileIgor
closes: #14949 Signed-off-by: Igor <igorlfs@ufmg.br> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-10runtime(termdebug): fix mousemodel restoration by comparing against null_stringErnie Rael
closes: #14951 Signed-off-by: Ernie Rael <errael@raelity.com> 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>
2024-06-09runtime(java): Exclude lambda expressions from _when_ _switch-case_ label ↵Aliaksei Budavei
clauses (#14945) These guard clauses are always boolean expressions, whereas lambda expressions can only appear in either an assignment, a casting, or an invocation context. References: https://docs.oracle.com/javase/specs/jls/se21/html/jls-14.html#jls-14.11.1 https://docs.oracle.com/javase/specs/jls/se21/html/jls-15.html#jls-15.27 Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-09runtime(termdebug): Fix saved_mousemodel checklaburnumT
Fix issue introduced by 23f29ffc64276dd790581f98b86a0a6435b7eb22 where saved_mousemodel is introduced as a variable, so the exists check will always be true. Move to check the value of saved_mousemodel instead. closes: #14946 Signed-off-by: laburnumT <laburnumtec@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-09runtime(termdebug: Fix errors in using the latest termdebug.vimYegappan Lakshmanan
closes: #14941 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-09runtime(doc): Fix small style issuesh-east
closes: #14942 Signed-off-by: h-east <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-09runtime(doc): add return type info for Vim function descriptionsChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-07translation(it): Update Italian Vim manpageAntonio Giovanni Colombo
Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-06runtime(man): disable the q mappingChristian Brabandt
fixes: #8210 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-06runtime(cpp): Change 'cms' for C++ to '// %s'Luc Hermitte
fixes: #14911 closes: #14926 Signed-off-by: Luc Hermitte <luc.hermitte@csgroup.eu> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-06runtime(ccomplete): fix type mismatch errorLars T. Kyllingstad
fixes: #14927 closes: #14928 Signed-off-by: Lars T. Kyllingstad <lars.kyllingstad@sintef.no> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05runtime(termdebug): Fix wrong email addressChristian Brabandt
related: #14903 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05runtime(termdebug): convert termdebug plugin to Vim9 scriptUbaldo Tiberi
closes: #14903 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@volvo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05patch 9.1.0469: Cannot have buffer-local value for 'completeopt'v9.1.0469zeertzjq
Problem: Cannot have buffer-local value for 'completeopt' (Nick Jensen). Solution: Make 'completeopt' global-local (zeertzjq). Also for some reason test Test_ColonEight_MultiByte seems to be failing sporadically now. Let's mark it as flaky. fixes: #5487 closes: #14922 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05runtime(vim): Update base-syntax, allow whitespace before :substitute patternDoug Kearns
Allow whitespace between the :substitute command and its pattern argument. Although unusual, it is supported and there are examples in the wild. Match Vi compatible :substitute commands like :s\/{string}/. See :help E1270. fixes: #14920 closes: #14923 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-04runtime(man): update Vim manpageChristian Brabandt
fixes: #14916 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-04runtime(comment): clarify the usage of 'commentstring' option valueChristian Brabandt
fixes: #14905 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-04runtime(doc): clarify how fuzzy 'completeopt' should workChristian Brabandt
related: #14912 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-04runtime(netrw): prevent accidental data lossChristian Brabandt
fixes: #14915 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-03patch 9.1.0465: missing filecopy() functionv9.1.0465Shougo Matsushita
Problem: missing filecopy() function Solution: implement filecopy() Vim script function (Shougo Matsushita) closes: #12346 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-03patch 9.1.0464: no whitespace padding in commentstring option in ftpluginsv9.1.0464Riley Bruins
Problem: no whitespace padding in commentstring option in ftplugins Solution: Change default to include whitespace padding, update existing filetype plugins with the new default value (Riley Bruins) closes: #14843 Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-03patch 9.1.0463: no fuzzy-matching support for insert-completionv9.1.0463glepnir
Problem: no fuzzy-matching support for insert-completion Solution: enable insert-mode completion with fuzzy-matching using :set completopt+=fuzzy (glepnir). closes: #14878 Signed-off-by: glepnir <glephunter@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-02patch 9.1.0460: filetype: lintstagedrc files are not recognizedv9.1.0460İlyas Akın
Problem: filetype: lintstagedrc files are not recognized Solution: recognize '.lintstagedrc' files as json filetype (İlyas Akın) see: https://github.com/lint-staged/lint-staged closes: #14897 Signed-off-by: İlyas Akın <ilyas.akin@kuika.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-01patch 9.1.0457: tests: test_gui fails on Waylandv9.1.0457Christian Brabandt
v:windowid is set in GUI buils with Wayland Problem: tests: test_gui fails on Wayland (after: 9.1.0064, Gary Johnson) Solution: drop the "empty($WAYLAND_DISPLAY)" condition in the test fixes: #14886 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-01runtime(doc): clarify 'shortmess' flag "S"Christian Brabandt
fixes: #14893 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-31runtime(doc): include some vim9 script examples in the helpChristian Brabandt
closes: #14848 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-31patch 9.1.0454: minor issues in test_filetype with rasi testv9.1.0454Christian Brabandt
Problem: minor issues in test_filetype with rasi test (after 9.1.0453) Solution: re-sort test_filetype, fix wrong syntax.txt help tags Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-31patch 9.1.0453: filetype: rasi files are not recognizedv9.1.0453Pierrick Guillaume
Problem: filetype: rasi files are not recognized Solution: regonize '*.rasi' files as rasi filetype, include a filetype and syntax plugin (Pierrick Guillaume) ported from: https://github.com/Fymyte/rasi.vim closes: #14821 Signed-off-by: Pierrick Guillaume <pierguill@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-31runtime(java): Improve the matching of lambda expressions (#14880)Aliaksei Budavei
- Distinguish some formal parameters. - Support multi-line definitions. Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-30patch 9.1.0452: Configure checks for libelf unnecessarilyv9.1.0452youcai
Problem: Configure checks for libelf unnecessarily Solution: Remove configure check (youcai) closes: #14879 Signed-off-by: youcai <omegacoleman@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-28runtime(stylus): remove remaining css code (#14866)zeertzjq
This seems to be a forgotten fixup in https://github.com/vim/vim/commit/2d919d2744a99c9bb9e79984e85b8e8f5ec14c07#r141568461 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-27runtime(doc): Add ft_hare.txt to Reference Manual TOCh-east
while at it, also re-align ft_context.txt with the rest of the list. closes: #14863 Signed-off-by: h-east <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-27runtime(vim): re-generate vim syntax from generatorChristian Brabandt
related: #14861 Signed-off-by: Christian Brabandt <cb@256bit.org>