summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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.0470: tests: Test_ColonEight_MultiByte() fails sporadicallyv9.1.0470Christian Brabandt
Problem: tests: Test_ColonEight_MultiByte() fails on MS-Windows Solution: mark test as flaky This single line change should have happened as part of v9.1.469 (and I mentioned it in the Commit message), but forgot to actually include the change :facepalm 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-05patch 9.1.0468: GvimExt does not consult HKEY_CURRENT_USERv9.1.0468David Wagner
Problem: GvimExt does not consult HKEY_CURRENT_USER Solution: Make GvimExt first consult HKEY_CURRENT_USER and then fall back to HKEY_LOCAL_MACHINE to find gvim (David Wagner) fixes: #14904 closes: #14917 Signed-off-by: David Wagner <dwagner@rydia.us> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05CI: update FreeBSD runner to 14.1 (#13937)Philip H
closes: #14918 Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05patch 9.1.0467: typos in some commentsv9.1.0467zeertzjq
Problem: typos in some comments (after v9.1.0466) Solution: fix comments (zeertzjq) closes: #14919 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-04patch 9.1.0466: Missing comments for fuzzy completionv9.1.0466glepnir
Problem: Missing comments for fuzzy completion (after 9.1.0463) Solution: Add more comments, adjust indentation slightly (glepnir) closes: #14910 Signed-off-by: glepnir <glephunter@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-03patch 9.1.0462: eval5() and eval7 are too complexv9.1.0462Yegappan Lakshmanan
Problem: eval5() and eval7 are too complex Solution: Refactor eval5() and eval7() in eval.c (Yegappan Lakshmanan) closes: #14900 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-02patch 9.1.0461: too many strlen() calls in drawline.cv9.1.0461John Marriott
Problem: too many strlen() calls in drawline.c Solution: Refactor code to avoid strlen() (John Marriott) closes: #14890 Signed-off-by: John Marriott <basilisk@internode.on.net> 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-02patch 9.1.0459: Vim9: import autoload does not work with symlinkv9.1.0459nwounkn
Problem: Vim9: import autoload does not work with symlink (Olivier Dormond) Solution: set sn_autoload_prefix in check_script_symlink (nwounkn) fixes: #14775 closes: #14885 Signed-off-by: nwounkn <nwounkn@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-02patch 9.1.0458: Coverity complains about division by zerov9.1.0458Christian Brabandt
Problem: Coverity complains about division by zero Solution: Check explicitly for sw_val being zero Shouldn't happen, since tabstop value should always be larger than zero. So just add this as a safety measure. 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-01patch 9.1.0456: Left shift is incorrect with vartabstop and shiftwidth=0v9.1.0456Gary Johnson
Problem: Left shift is incorrect with vartabstop and shiftwidth=0 Solution: make tabstop_at() function aware of shift direction (Gary Johnson) The problem was that with 'vartabstop' set and 'shiftwidth' equal 0, left shifts using << were shifting the line to the wrong column. The tabstop to the right of the first character in the line was being used as the shift amount instead of the tabstop to the left of that first character. The reason was that the tabstop_at() function always returned the value of the tabstop to the right of the given column and was not accounting for the direction of the shift. The solution was to make tabstop_at() aware of the direction of the shift and to choose the tabtop accordingly. A test was added to check this behavior and make sure it doesn't regress. While at it, also fix a few indentation/alignment issues. fixes: #14864 closes: #14887 Signed-off-by: Gary Johnson <garyjohn@spocom.com> 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-06-01patch 9.1.0455: MS-Windows: compiler warning for size_t to int conversionv9.1.0455Mike Williams
Problem: MS-Windows: compiler warning for size_t to int conversion Solution: Add a few type casts to resolve warning on Windows (Mike Williams) closes: #14884 Signed-off-by: Mike Williams <mrmrdubya@gmail.com> 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-30patch 9.1.0451: No test for escaping '<' with shellescape()v9.1.0451zeertzjq
Problem: No test for escaping '<' with shellescape() Solution: Add a test. Use memcpy() in code to make it easier to understand. Fix a typo (zeertzjq). closes: #14876 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-30check.vim complains about overlong comment linesChristian Brabandt
Problem: check.vim complains about overlong comment lines Solution: only check the length of non-commented lines Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-30translation(it): Update Italian translationAntonio Giovanni Colombo
Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-30patch 9.1.0450: evalc. code too complexv9.1.0450Yegappan Lakshmanan
Problem: eval.c code too complex Solution: refactor eval6() and eval9() functions into several smaller functions (Yegappan Lakshmanan) closes: #14875 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-30patch 9.1.0449: MS-Windows: Compiler warningsv9.1.0449Mike Williams
Problem: MS-Windows: Compiler warnings Solution: Resolve size_t to int warnings closes: #14874 A couple of warnings in ex_docmd.c have been resolved by modifying their function argument types, followed by some changes in various function call sites. This also allowed removal of some casts to cope with size_t/int conversion. Signed-off-by: Mike Williams <mrmrdubya@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-29patch 9.1.0448: compiler warning in eval.cv9.1.0448Yegappan Lakshmanan
Problem: compiler warning in eval.c (after v9.1.0429) Solution: refactor code (Yegappan Lakshmanan) fixes: #14847 closes: #14867 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.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>
2024-05-27runtime(vim): fix syntax vim bug (Close #14858) (#14861)h_east
Signed-off-by: h-east <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-27patch 9.1.0447: completion may be wrong when deleting all charsv9.1.0447glepnir
Problem: completion may be wrong when deleting all chars Solution: reset compl_shown_match closes: #14854 Signed-off-by: glepnir <glephunter@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-26patch 9.1.0446: getregionpos() inconsistent for partly-selected multibyte charv9.1.0446zeertzjq
Problem: getregionpos() behaves inconsistently for a partly-selected multibyte char. Solution: Always use column of the first byte for a partly-selected multibyte char (zeertzjq). closes: #14851 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-26runtime(typescriptreact): fix highlighting nested and escaped quotes in ↵Linda_pp
string props (#14852) Signed-off-by: rhysd <lin90162@yahoo.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>