summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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>
2024-05-26runtime(asm): remove the indent plugin since it has too many issuesChristian Brabandt
fixes: #14791 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-25runtime(debian): update Debian runtime files (#14849)James McCoy
* Add space in template for 'commentstring' * Add 'comments' and 'commentstring' support to debcontrol * debversions: Move Ubuntu releases outside of standard support to unsupported Although trust, xenial, and bionic are not EOL yet, their standard support period has ended. Reported-by: Riley Bruins <ribru17@gmail.com> Co-authored-by: Riley Bruins <ribru17@gmail.com> Signed-off-by: James McCoy <jamessan@debian.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-25patch 9.1.0445: Coverity warning after 9.1.0440v9.1.0445Yegappan Lakshmanan
Problem: Coverity warning after 9.1.0440 Solution: Fix Coverity warning, add a test and reduce the calls to clear_tv() (Yegappan Lakshmanan). closes: #14845 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-25patch 9.1.0444: Not enough tests for getregion() with multibyte charsv9.1.0444zeertzjq
Problem: Not enough tests for getregion() with multibyte chars. Solution: Add a few more tests (zeertzjq). closes: #14844 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24patch 9.1.0443: Can't use blockwise selection with width for getregion()v9.1.0443zeertzjq
Problem: Can't use a blockwise selection with a width for getregion(). Solution: Add support for blockwise selection with width like the return value of getregtype() or the "regtype" value of TextYankPost (zeertzjq). closes: #14842 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24runtime(typescript): update outdated syntax filesrhysd
fixes: #14721 fixes: HerringtonDarkholme/yats.vim#277 closes: #14840 Signed-off-by: rhysd <lin90162@yahoo.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24runtime(i3config/swayconfig): fix floating_modifier highlight (#14841)Josef Litoš
Signed-off-by: JosefLitos <litosjos@fit.cvut.cz> Signed-off-by: James Eapen <james.eapen@vai.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24patch 9.1.0442: hare runtime files outdatedv9.1.0442Amelia Clarke
Problem: hare runtime files outdated Solution: runtime(hare): update hare.vim to match upstream (Amelia Clarke) closes: #14836 Signed-off-by: Amelia Clarke <selene@perilune.dev> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24patch 9.1.0441: getregionpos() can't properly indicate positions beyond eolv9.1.0441zeertzjq
Problem: getregionpos() can't properly indicate positions beyond eol. Solution: Add an "eol" flag that enables handling positions beyond end of line like getpos() does (zeertzjq). Also fix the problem that a position still has the coladd beyond the end of the line when its column has been clamped. In the last test case with TABs at the end of the line the old behavior is obviously wrong. I decided to gate this behind a flag because returning positions that don't correspond to actual characters in the line may lead to mistakes for callers that want to calculate the length of the selected text, so the behavior is only enabled if the caller wants it. closes: #14838 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24patch 9.1.0440: function get_lval() is too longv9.1.0440Yegappan Lakshmanan
Problem: function get_lval() is too long Solution: factor out the get_lval_subscript() function (Yegappan Lakshmanan) closes: #14839 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24patch 9.1.0439: Cannot filter the historyv9.1.0439Christian Brabandt
Problem: Cannot filter the history Solution: Implement :filter :history closes: #14835 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-24patch 9.1.0438: Wrong Ex command executed when :g uses '?' as delimiterv9.1.0438zeertzjq
Problem: Wrong Ex command executed when :g uses '?' as delimiter and pattern contains escaped '?'. Solution: Don't use "*newp" when it's not allocated (zeertzjq). closes: #14837 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23runtime(i3config/swayconfig): support floating_modifier none; revert broken ↵James Eapen
highlighting - fix floating_modifier $mod normal|inverse was being hightlighted as error reverting the floating_modifier change from dd83b63 - will currently allow invalid syntax after floating_modifier fixes: #14826 closes: #14827 Co-authored-by: JosefLitos <litosjos@fit.cvut.cz> Signed-off-by: James Eapen <james.eapen@vai.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23patch 9.1.0437: Motif requires non-const char pointer for XPM datav9.1.0437Drew Vogel
Problem: Motif requires non-const char pointer for XPM data shared with GTK (Tony Mechelynck, after v9.1.0432) Solution: Cast non-const to const char pointer for GTK (Drew Vogel). closes: #14834 Signed-off-by: Drew Vogel <dvogel@github> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23patch 9.1.0436: Crash when using '?' as separator for :sv9.1.0436zeertzjq
Problem: Crash when using '?' as separator for :s and pattern contains escaped '?'s (after 9.1.0409). Solution: Always compute startplen. (zeertzjq). related: neovim/neovim#28935 closes: 14832 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23patch 9.1.0435: filetype: cygport files are not recognizedv9.1.0435K.Takata
Problem: filetype: cygport files are not recognized Solution: Recognize '*.cygport' files as sh filetype (Ken Takata) https://cygwin.github.io/cygport/cygport_in.html closes: #14833 Signed-off-by: K.Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23patch 9.1.0434: make errors trying to access autoload/zigv9.1.0434Derek Schrock
Problem: make errors trying to access autoload/zig Solution: Remove autoload/zig from Makefile, adjust Filelist (Derek Schrock) Commit d1d9316c6 removed autoload/zig/ files and install/uninstall target of the Makefile fail since the directory doesn't exist any longer. closes: #14828 Signed-off-by: Derek Schrock <dereks@lifeofadishwasher.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23patch 9.1.0433: Wrong yanking with exclusive selection and ve=allv9.1.0433zeertzjq
Problem: Wrong yanking with exclusive selection and virtualedit=all, and integer overflow when using getregion() on it. Solution: Set coladd when decreasing column and 'virtualedit' is active. Add more tests for getregion() with 'virtualedit' (zeertzjq). closes: #14830 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23runtime(comment): add missing help tags fileChristian Brabandt
fixes: #14829 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-22patch 9.1.0432: Ancient XPM preprocessor hack may cause build errorsv9.1.0432Drew Vogel
Problem: Ancient XPM preprocessor hack may cause build errors. Solution: Simplify XPM includes and get rid of complicated #ifdef magic (Drew Vogel). closes: #14816 Signed-off-by: Drew Vogel <dvogel@github> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-22runtime(rescript): include basic rescript ftplugin file (#14822)Riley Bruins
Reference: https://rescript-lang.org/docs/manual/latest/overview#comments Signed-off-by: Riley Bruins <ribru17@hotmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-22patch 9.1.0431: eval.c is too longv9.1.0431Yegappan Lakshmanan
Problem: eval.c is too long Solution: Move garbage collection code to new gc.c file (Yegappan Lakshmanan) closes: #14824 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-22patch 9.1.0430: getregionpos() doesn't handle one char selectionv9.1.0430zeertzjq
Problem: getregionpos() doesn't handle one char selection. Solution: Handle startspaces differently when is_oneChar is set. Also add a test for an exclusive charwise selection with multibyte chars (zeertzjq) closes: #14825 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-22CI: disable -O2 for Coverity after v9.1.0429Christian Brabandt
gcc -O2 outputs this warning and turns it into an error when running Coverity action: ``` eval.c: In function ‘echo_string_core’: cc1: warning: function may return address of local variable [-Wreturn-local-addr] eval.c:6495:12: note: declared here 6495 | char_u buf[MAX_FUNC_NAME_LEN]; | ^~~ ``` This seems to be a false positive, so disable -O2 for Coverity specifically. Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-21runtime(termdebug): check for gdb file/dir before using as buffer nameUbaldo Tiberi
Add test so that this doesn't regress. fixes: #12718 closes: #14792 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@volvo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-21runtime(zig): refactor zig ftplugin, remove auto formatTiseno
Refactored zig ftplugin, removed upstream comment, aucmd and auto formatting support. Updated documentation for zig configuration settings and added new maintainer. closes: #13803 Signed-off-by: Tiseno <mathias.lindgren@stabelo.se> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-21patch 9.1.0429: Coverity complains about eval.c refactorv9.1.0429Christian Brabandt
Problem: Coverity complains about eval.c refactor (after v9.1.0422) Solution: Check that buf is not used un-initialized, add explicit conditions for save and restore of copyID Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-21patch 9.1.0428: Tag guessing leaves wrong search history with very short namesv9.1.0428zeertzjq
Problem: Tag guessing leaves wrong search history with very short names (after 9.1.0426). Solution: Use the correct variable for pattern length (zeertzjq). closes: #14817 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-21patch 9.1.0427: tests: some issues with termdebug mapping testv9.1.0427Ken Takata
Problem: tests: some issues with termdebug mapping test Solution: Use assert_{true,false} if suitable, change order of expected and actual arguments in assert() calls. (Ken Takata) closes: #14818 related: 7fbbd7f Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-20runtime(matchit): update matchit plugin to v1.20Christian Brabandt
fixes: #14814 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-20patch 9.1.0426: too many strlen() calls in search.cv9.1.0426John Marriott
Problem: too many strlen() calls in search.c Solution: refactor code and remove more strlen() calls, use explicit variable to remember strlen (John Marriott) closes: #14796 Signed-off-by: John Marriott <basilisk@internode.on.net> Signed-off-by: Christian Brabandt <cb@256bit.org>