]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
18 months agopatch 9.1.0488: Wrong padding for pum "kind" with 'rightleft' v9.1.0488
zeertzjq [Sat, 15 Jun 2024 13:08:27 +0000 (15:08 +0200)] 
patch 9.1.0488: Wrong padding for pum "kind" with 'rightleft'

Problem:  Wrong padding for pum "kind" with 'rightleft'.
Solution: Fix off-by-one error (zeertzjq).

The screen_fill() above is end-exclusive, and
- With 'rightleft' it fills `pum_col - pum_base_width - n + 1` to `col`,
  so the next `col` should be `pum_col - pum_base_width - n`.
- With 'norightleft' it fills `col` to `pum_col - pum_base_width + n - 1`,
  so the next `col` should be `pum_col - pum_base_width + n`.

closes: #15004

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(vim): Update base-syntax, match shebang lines (#15011)
dkearns [Sat, 15 Jun 2024 13:06:17 +0000 (23:06 +1000)] 
runtime(vim): Update base-syntax, match shebang lines (#15011)

Match shebang lines in Vim9 and legacy script.

Mark these as an error if they appear anywhere other than the first line
of a legacy-script file.  In Vim9 script these match as normal line
comments rather than an error.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(zip): MS-Windows: handle files with spaces properly
Christian Brabandt [Sat, 15 Jun 2024 12:49:24 +0000 (14:49 +0200)] 
runtime(zip): MS-Windows: handle files with spaces properly

This change does the following 3 things:

1) non need to quote the file to be extracted

The zipfile plugin used to quote and fnameescape() the path to the
file to be extracted. However testing with unzip showed, that while this
works on Linux on Windows you shall not escape the blanks in filenames.

As long as the pathname is properly quoted, this words on Linux and
Windows.

2) reset shellslash (MS-Windows only)

When shellslash is set, filenames to the zip archive will be forward
quoted. However since the filename is eventually handed over to the
unzip command, we need to make sure to use native paths so that the
command will understand what file to open. Therefore, if shellslash is
set (and the shell is cmd.exe), replace any forward slashes by the
expected backslashes

3) style:
Use tabs for the Header, remove a few comments in the s:Escape() and
zip#read() functions

fixes: #14998

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(html): Restore HTML syntax file tests
Doug Kearns [Thu, 13 Jun 2024 15:59:34 +0000 (01:59 +1000)] 
runtime(html): Restore HTML syntax file tests

Rendered element content results in test failures on macOS and FreeBSD.

The included content for these elements was incidental to the primary
intent of the test to check element tag highlighting so set
g:html_no_rendering to disable content rendering.

FreeBSD fails for even an empty <strike> element.

See #13591 and #14215.

closes: #13595

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0487: completed item not update on fuzzy completion v9.1.0487
glepnir [Fri, 14 Jun 2024 19:11:56 +0000 (21:11 +0200)] 
patch 9.1.0487: completed item not update on fuzzy completion

Problem:  completed item not update on fuzzy completion
Solution: reset compl_shown_match when at original match position
          (glepnir)

closes: #14955

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0486: filetype: Snakemake files are not recognized v9.1.0486
Riley Bruins [Fri, 14 Jun 2024 18:47:05 +0000 (20:47 +0200)] 
patch 9.1.0486: filetype: Snakemake files are not recognized

Problem:  filetype: Snakemake files are not recognized
Solution: Detect '*.smk' and Snakefile files as snakemake filetype
          (Riley Bruins)

See:
https://snakemake.readthedocs.io/en/stable/snakefiles/deployment.html#distribution-and-reproducibility

closes: #14992

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(termdebug): make TermDebugSendCommand() a global function again
Damien Riegel [Fri, 14 Jun 2024 16:33:17 +0000 (12:33 -0400)] 
runtime(termdebug): make TermDebugSendCommand() a global function again

TermDebugSendCommand lost it's global visibility when converted to
vim9script. Restore it.

Fixes: 23f29ffc6427 ("runtime(termdebug): convert termdebug plugin to
       Vim9 script")
closes: #14997

Signed-off-by: Damien Riegel <damien@riegel.io>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(termdebug): close all buffers in the same way
Damien Riegel [Fri, 14 Jun 2024 16:15:11 +0000 (12:15 -0400)] 
runtime(termdebug): close all buffers in the same way

For ASM and Variables buffer, check were done to make sure they existed
before attempting to close them, but not for debugged program or gdb
communication. The debugged program window is a user-facing one and
user might close it manually, so it's better to check if it exists.

Signed-off-by: Damien Riegel <damien@riegel.io>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0485: Matched text shouldn't be highlighted in "kind" and "menu" v9.1.0485
zeertzjq [Fri, 14 Jun 2024 18:24:22 +0000 (20:24 +0200)] 
patch 9.1.0485: Matched text shouldn't be highlighted in "kind" and "menu"

Problem:  Matched text shouldn't be highlighted in "kind" and "menu".
Solution: Pass hlf_T instead of the attribute.  Fix indent.
          (zeertzjq)

closes: #14996

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): fix wrong helptag for :defer
Christian Brabandt [Fri, 14 Jun 2024 18:22:05 +0000 (20:22 +0200)] 
runtime(doc): fix wrong helptag for :defer

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(vim): Update base-syntax, match :sleep arg
Doug Kearns [Fri, 14 Jun 2024 18:16:35 +0000 (20:16 +0200)] 
runtime(vim): Update base-syntax, match :sleep arg

Match :sleep arg properly including a lone "m" with a leading count.

closes: #15003

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(keymap): include Georgian keymap
Misho [Fri, 14 Jun 2024 18:13:17 +0000 (20:13 +0200)] 
runtime(keymap): include Georgian keymap

closes: #15002

Signed-off-by: Misho <nnamper@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0484: Sorting of completeopt+=fuzzy is not stable v9.1.0484
zeertzjq [Fri, 14 Jun 2024 18:04:42 +0000 (20:04 +0200)] 
patch 9.1.0484: Sorting of completeopt+=fuzzy is not stable

Problem:  Sorting of completeopt+=fuzzy is not stable.
Solution: Compare original indexes when scores are the same.
          (zeertzjq)

closes: #14988

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(netrw): correctly test for windows in NetrwGlob()
Christian Brabandt [Fri, 14 Jun 2024 06:19:22 +0000 (08:19 +0200)] 
runtime(netrw): correctly test for windows in NetrwGlob()

use has("win32") instead of has("win64") otherwise it
won't work on x86 systems.

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(netrw): glob() on windows fails with [] in directory name
Christian Brabandt [Thu, 13 Jun 2024 19:25:35 +0000 (21:25 +0200)] 
runtime(netrw): glob() on windows fails with [] in directory name

fixes: #14952
closes: #14991

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): rewrite mkdir() doc and simplify {flags} meaning
Christian Brabandt [Thu, 13 Jun 2024 19:21:41 +0000 (21:21 +0200)] 
runtime(doc): rewrite mkdir() doc and simplify {flags} meaning

related: #14991

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0483: glob() not sufficiently tested v9.1.0483
Christian Brabandt [Thu, 13 Jun 2024 19:20:20 +0000 (21:20 +0200)] 
patch 9.1.0483: glob() not sufficiently tested

Problem:  glob() not sufficiently tested
Solution: Add more tests for directory containing [] chars

related: #14991

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): update return type for job_info()
Christian Brabandt [Thu, 13 Jun 2024 18:46:23 +0000 (20:46 +0200)] 
runtime(doc): update return type for job_info()

related: #14982

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoREADME.md: Update link to release archives
Patrick Brinich-Langlois [Thu, 13 Jun 2024 18:22:13 +0000 (20:22 +0200)] 
README.md: Update link to release archives

The releases page doesn't have anything listed.

closes: #14990

Signed-off-by: Patrick Brinich-Langlois <pbrinichlanglois@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0482: termdebug plugin needs more love v9.1.0482
Ubaldo Tiberi [Thu, 13 Jun 2024 17:23:07 +0000 (19:23 +0200)] 
patch 9.1.0482: termdebug plugin needs more love

Problem:  termdebug plugin needs more love
Solution: start with some more Vim9 refactoring
          to improve maintenance and readability
          (Ubaldo Tiberi)

List of Changes and the Reasoning Behind Them:

1) Introduction of InitScriptVariables() Function:

Reasoning: This function has been introduced to ensure that when you open and
close Termdebug, and then open it again, there are no leftover script variable
values from the previous session. Leftover values could potentially cause
issues. The goal is for each Termdebug session to be independent of previous
sessions. At startup, all script variables are initialized. The only exception
is g:termdebug_loaded located at the very beginning of the script to prevent
sourcing the script twice. The variables are declared at script level and
defined in InitScriptVariables().

2) More Descriptive Variable Names:

Reasoning: The names of variables have been made more comprehensive. Almost
every Termdebug buffer now has a variable to indicate its name and another
variable to indicate its number, improving code readability and
maintainability. Due to the latest discussion around the &mousemodel option
save/restore mechanism, perhaps some other variables shall be prepended with
saved_.

3) Consistent Naming for GDB Terminal Buffers:

Reasoning: The name of the GDB terminal buffer now matches the name of the GDB
program being used, e.g., 'gdb', 'mygdb', 'arm-eabi-none-gdb', etc. This
ensures clarity and consistency in identifying buffers.

4) Other minor improvements:
Moved EchoErr() on top, added another test, some refactoring, mainly changed
several 0 and 1 to true and false

closes: #14980

Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@volvo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): correct return types for job_start() and job_status()
Christian Brabandt [Thu, 13 Jun 2024 17:13:28 +0000 (19:13 +0200)] 
runtime(doc): correct return types for job_start() and job_status()

fixes: #14982

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(vim): Update base-syntax, match :catch and :throw args (#14989)
dkearns [Thu, 13 Jun 2024 15:48:10 +0000 (01:48 +1000)] 
runtime(vim): Update base-syntax, match :catch and :throw args (#14989)

Match :catch /{pattern}/ and :throw {expr1}.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(java): Include element values in non-marker annotations (#14979)
Aliaksei Budavei [Thu, 13 Jun 2024 15:30:09 +0000 (18:30 +0300)] 
runtime(java): Include element values in non-marker annotations (#14979)

Make a formal definition for normal and single-element kinds
of annotations that otherwise require for their containment
to repeat each time all syntax groups that describe element
values.

Reference:
https://docs.oracle.com/javase/specs/jls/se21/html/jls-9.html#jls-9.7

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0481: Vim9: term_getjob() throws an exception on error v9.1.0481
Ernie Rael [Thu, 13 Jun 2024 15:24:54 +0000 (17:24 +0200)] 
patch 9.1.0481: Vim9: term_getjob() throws an exception on error

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>
18 months agopatch 9.1.0480: fuzzy string matching executed when not needed v9.1.0480
glepnir [Thu, 13 Jun 2024 15:21:24 +0000 (17:21 +0200)] 
patch 9.1.0480: fuzzy string matching executed when not needed

Problem:  fuzzy string matching executed when not needed
Solution: when no leader is available, can skip fuzzy logic, so return
          early (glepnir)

closes: #14986

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0479: fuzzy_match_str_with_pos() does unnecessary list operations v9.1.0479
zeertzjq [Thu, 13 Jun 2024 15:14:27 +0000 (17:14 +0200)] 
patch 9.1.0479: fuzzy_match_str_with_pos() does unnecessary list operations

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>
18 months agoruntime(doc): restore description of "$" in col() and virtcol() (#14981)
zeertzjq [Thu, 13 Jun 2024 15:00:25 +0000 (23:00 +0800)] 
runtime(doc): restore description of "$" in col() and virtcol() (#14981)

These are different from line() and getpos().

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): deduplicate getpos(), line(), col(), virtcol()
zeertzjq [Wed, 12 Jun 2024 18:45:24 +0000 (20:45 +0200)] 
runtime(doc): deduplicate getpos(), line(), col(), virtcol()

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>
18 months agoruntime(vim): Update g:vimsyn_comment_strings dump file tests
Doug Kearns [Wed, 12 Jun 2024 18:44:10 +0000 (20:44 +0200)] 
runtime(vim): Update g:vimsyn_comment_strings dump file tests

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>
18 months agoruntime(termdebug): Use string interpolation instead of string concat
Yegappan Lakshmanan [Wed, 12 Jun 2024 18:37:05 +0000 (20:37 +0200)] 
runtime(termdebug): Use string interpolation instead of string concat

closes: #14972

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0478: potential deref of NULL pointer in fuzzy_match_str_with_pos v9.1.0478
glepnir [Wed, 12 Jun 2024 18:31:13 +0000 (20:31 +0200)] 
patch 9.1.0478: potential deref of NULL pointer in fuzzy_match_str_with_pos

Problem:  potential deref of NULL pointer in fuzzy_match_str_with_pos()
          on cleanup (after v9.1.0476)
Solution: Only free the pointer if it is non-NULL (glepnir)

closes: #14973

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0477: block_editing errors out when using <enter> v9.1.0477
Christian Brabandt [Tue, 11 Jun 2024 18:30:14 +0000 (20:30 +0200)] 
patch 9.1.0477: block_editing errors out when using <enter>

Problem:  block_editing errors out when using <enter>
          (Ali Rizvi-Santiago, after v9.1.0274)
Solution: Change ins_len from size_t to int so that the test
          if ins_len is negative actually works properly

Add a test, so that this doesn't regress.

fixes: #14960

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(vim): Update base-syntax, configurable comment string highlighting (#14931)
dkearns [Tue, 11 Jun 2024 18:18:08 +0000 (04:18 +1000)] 
runtime(vim): Update base-syntax, configurable comment string highlighting (#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>
18 months agoruntime(doc): fix typos in syntax.txt
Ken Takata [Tue, 11 Jun 2024 17:45:32 +0000 (19:45 +0200)] 
runtime(doc): fix typos in syntax.txt

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0476: Cannot see matched text in popup menu v9.1.0476
glepnir [Tue, 11 Jun 2024 17:37:04 +0000 (19:37 +0200)] 
patch 9.1.0476: Cannot see matched text in popup menu

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>
18 months agoruntime(vim): Update base-syntax, match multiline continued comments (#13936)
dkearns [Tue, 11 Jun 2024 17:27:53 +0000 (03:27 +1000)] 
runtime(vim): Update base-syntax, match multiline continued comments (#13936)

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>
18 months agoruntime(doc): clarify documentation for "v" position at line()
Peter Aronoff [Tue, 11 Jun 2024 17:22:53 +0000 (19:22 +0200)] 
runtime(doc): clarify documentation for "v" position at line()

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>
18 months agopatch 9.1.0475: cmod_split modifier is always reset in term_start() v9.1.0475
Yegappan Lakshmanan [Tue, 11 Jun 2024 17:18:12 +0000 (19:18 +0200)] 
patch 9.1.0475: cmod_split modifier is always reset in term_start()

Problem:  cmod_split modifier is always reset in term_start()
Solution: only clear the WSP_VERT flag, if it is not already in
          cmdmod.cmod_split (Yegappan Lakshmanan)

closes: #14961

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(termdebug): remove line-continuation characters
Yegappan Lakshmanan [Tue, 11 Jun 2024 17:10:32 +0000 (19:10 +0200)] 
runtime(termdebug): remove line-continuation characters

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>
18 months agoruntime(kdl): use shiftwidth() instead of &tabstop in indent script
Yinzuo Jiang [Tue, 11 Jun 2024 17:06:02 +0000 (19:06 +0200)] 
runtime(kdl): use shiftwidth() instead of &tabstop in indent script

closes: #14962

Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(vim): Remove orphaned screen dump files (#14965)
dkearns [Tue, 11 Jun 2024 17:04:46 +0000 (03:04 +1000)] 
runtime(vim): Remove orphaned screen dump files (#14965)

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>
18 months agoruntime(kdl): include syntax, indent and ftplugin files
inzuo Jiang [Mon, 10 Jun 2024 19:13:56 +0000 (21:13 +0200)] 
runtime(kdl): include syntax, indent and ftplugin files

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>
18 months agopatch 9.1.0474: CI: Test_ColonEight() fails on github runners v9.1.0474
Christian Brabandt [Mon, 10 Jun 2024 19:06:55 +0000 (21:06 +0200)] 
patch 9.1.0474: CI: Test_ColonEight() fails on github runners

Problem:  CI: Test_ColonEight() fails on github runners
          (Ken Takata)
Solution: Run the test for files on the C: drive, where dos shortnames
          are still enabled, refactor the tests to use a single setup
          function for the preparation

fixes: #14954
closes: #14958

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(deb822sources): add missing Enabled field in syntax script
Kentaro Hayashi [Mon, 10 Jun 2024 16:21:26 +0000 (18:21 +0200)] 
runtime(deb822sources): add missing Enabled field in syntax script

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>
18 months agoruntime(svelte): basic svelte ftplugin file
Igor [Mon, 10 Jun 2024 16:19:57 +0000 (18:19 +0200)] 
runtime(svelte): basic svelte ftplugin file

closes: #14949

Signed-off-by: Igor <igorlfs@ufmg.br>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0473: term_start() does not clear vertical modifier v9.1.0473
Yegappan Lakshmanan [Mon, 10 Jun 2024 16:16:34 +0000 (18:16 +0200)] 
patch 9.1.0473: term_start() does not clear vertical modifier

Problem:  term_start() does not clear vertical modifier
Solution: Clear the flag after splitting the window
          (Yegappan Lakshmanan)

closes: #14953

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(termdebug): fix mousemodel restoration by comparing against null_string
Ernie Rael [Mon, 10 Jun 2024 16:12:07 +0000 (18:12 +0200)] 
runtime(termdebug): fix mousemodel restoration by comparing against null_string

closes: #14951

Signed-off-by: Ernie Rael <errael@raelity.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): Added definitions of Vim scripts and plugins
Ubaldo Tiberi [Sun, 9 Jun 2024 16:47:53 +0000 (18:47 +0200)] 
runtime(doc): Added definitions of Vim scripts and plugins

closes: #14935

Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(java): Exclude lambda expressions from _when_ _switch-case_ label clauses...
Aliaksei Budavei [Sun, 9 Jun 2024 16:39:52 +0000 (19:39 +0300)] 
runtime(java): Exclude lambda expressions from _when_ _switch-case_ label 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>
18 months agoruntime(termdebug): Fix saved_mousemodel check
laburnumT [Sun, 9 Jun 2024 16:38:14 +0000 (18:38 +0200)] 
runtime(termdebug): Fix saved_mousemodel check

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>
18 months agopatch 9.1.0472: Inconsistencies between functions for option flags v9.1.0472
zeertzjq [Sun, 9 Jun 2024 16:24:05 +0000 (18:24 +0200)] 
patch 9.1.0472: Inconsistencies between functions for option flags

Problem:  Inconsistencies between functions for option flags.
Solution: Consistently use "unsigned int" as return type and rename
          get_bkc_value() to get_bkc_flags() (zeertzjq).

closes: #14925

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0471: Crash when using autocmd_get() after removing event inside autocmd v9.1.0471
zeertzjq [Sun, 9 Jun 2024 14:44:33 +0000 (16:44 +0200)] 
patch 9.1.0471: Crash when using autocmd_get() after removing event inside autocmd

Problem:  Crash when using autocmd_get() after removing event inside
          autocmd (Sergey Vlasov)
Solution: Check that the pattern is NULL (zeertzjq).

fixes: #14937
closes: #14939

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(termdebug: Fix errors in using the latest termdebug.vim
Yegappan Lakshmanan [Sun, 9 Jun 2024 14:42:45 +0000 (16:42 +0200)] 
runtime(termdebug: Fix errors in using the latest termdebug.vim

closes: #14941

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): Fix small style issues
h-east [Sun, 9 Jun 2024 14:32:19 +0000 (16:32 +0200)] 
runtime(doc): Fix small style issues

closes: #14942

Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): add return type info for Vim function descriptions
Christian Brabandt [Sat, 8 Jun 2024 22:13:43 +0000 (00:13 +0200)] 
runtime(doc): add return type info for Vim function descriptions

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agotranslation(it): Update Italian Vim manpage
Antonio Giovanni Colombo [Fri, 7 Jun 2024 11:31:01 +0000 (13:31 +0200)] 
translation(it): Update Italian Vim manpage

Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(man): disable the q mapping
Christian Brabandt [Thu, 6 Jun 2024 17:06:38 +0000 (19:06 +0200)] 
runtime(man): disable the q mapping

fixes: #8210

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(cpp): Change 'cms' for C++ to '// %s'
Luc Hermitte [Thu, 6 Jun 2024 16:44:30 +0000 (18:44 +0200)] 
runtime(cpp): Change 'cms' for C++ to '// %s'

fixes: #14911
closes: #14926

Signed-off-by: Luc Hermitte <luc.hermitte@csgroup.eu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(ccomplete): fix type mismatch error
Lars T. Kyllingstad [Thu, 6 Jun 2024 16:37:08 +0000 (18:37 +0200)] 
runtime(ccomplete): fix type mismatch error

fixes: #14927
closes: #14928

Signed-off-by: Lars T. Kyllingstad <lars.kyllingstad@sintef.no>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(termdebug): Fix wrong email address
Christian Brabandt [Wed, 5 Jun 2024 20:24:24 +0000 (22:24 +0200)] 
runtime(termdebug): Fix wrong email address

related: #14903

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(termdebug): convert termdebug plugin to Vim9 script
Ubaldo Tiberi [Wed, 5 Jun 2024 19:27:38 +0000 (21:27 +0200)] 
runtime(termdebug): convert termdebug plugin to Vim9 script

closes: #14903

Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@volvo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0470: tests: Test_ColonEight_MultiByte() fails sporadically v9.1.0470
Christian Brabandt [Wed, 5 Jun 2024 18:34:55 +0000 (20:34 +0200)] 
patch 9.1.0470: tests: Test_ColonEight_MultiByte() fails sporadically

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>
18 months agopatch 9.1.0469: Cannot have buffer-local value for 'completeopt' v9.1.0469
zeertzjq [Wed, 5 Jun 2024 18:27:06 +0000 (20:27 +0200)] 
patch 9.1.0469: Cannot have buffer-local value for 'completeopt'

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>
18 months agopatch 9.1.0468: GvimExt does not consult HKEY_CURRENT_USER v9.1.0468
David Wagner [Wed, 5 Jun 2024 18:01:19 +0000 (20:01 +0200)] 
patch 9.1.0468: GvimExt does not consult HKEY_CURRENT_USER

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>
18 months agoCI: update FreeBSD runner to 14.1 (#13937)
Philip H [Wed, 5 Jun 2024 17:57:11 +0000 (19:57 +0200)] 
CI: update FreeBSD runner to 14.1 (#13937)

closes: #14918

Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0467: typos in some comments v9.1.0467
zeertzjq [Wed, 5 Jun 2024 17:53:32 +0000 (19:53 +0200)] 
patch 9.1.0467: typos in some comments

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>
18 months agoruntime(vim): Update base-syntax, allow whitespace before :substitute pattern
Doug Kearns [Wed, 5 Jun 2024 17:45:43 +0000 (19:45 +0200)] 
runtime(vim): Update base-syntax, allow whitespace before :substitute pattern

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>
18 months agopatch 9.1.0466: Missing comments for fuzzy completion v9.1.0466
glepnir [Tue, 4 Jun 2024 20:01:21 +0000 (22:01 +0200)] 
patch 9.1.0466: Missing comments for fuzzy completion

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>
18 months agoruntime(man): update Vim manpage
Christian Brabandt [Tue, 4 Jun 2024 19:58:32 +0000 (21:58 +0200)] 
runtime(man): update Vim manpage

fixes: #14916

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(comment): clarify the usage of 'commentstring' option value
Christian Brabandt [Tue, 4 Jun 2024 18:44:29 +0000 (20:44 +0200)] 
runtime(comment): clarify the usage of 'commentstring' option value

fixes: #14905

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(doc): clarify how fuzzy 'completeopt' should work
Christian Brabandt [Tue, 4 Jun 2024 18:27:18 +0000 (20:27 +0200)] 
runtime(doc): clarify how fuzzy 'completeopt' should work

related: #14912

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(netrw): prevent accidental data loss
Christian Brabandt [Tue, 4 Jun 2024 16:15:57 +0000 (18:15 +0200)] 
runtime(netrw): prevent accidental data loss

fixes: #14915

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0465: missing filecopy() function v9.1.0465
Shougo Matsushita [Mon, 3 Jun 2024 20:59:27 +0000 (22:59 +0200)] 
patch 9.1.0465: missing filecopy() function

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>
18 months agopatch 9.1.0464: no whitespace padding in commentstring option in ftplugins v9.1.0464
Riley Bruins [Mon, 3 Jun 2024 18:40:45 +0000 (20:40 +0200)] 
patch 9.1.0464: no whitespace padding in commentstring option in ftplugins

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>
18 months agopatch 9.1.0463: no fuzzy-matching support for insert-completion v9.1.0463
glepnir [Mon, 3 Jun 2024 17:32:39 +0000 (19:32 +0200)] 
patch 9.1.0463: no fuzzy-matching support for insert-completion

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>
18 months agopatch 9.1.0462: eval5() and eval7 are too complex v9.1.0462
Yegappan Lakshmanan [Mon, 3 Jun 2024 16:52:22 +0000 (18:52 +0200)] 
patch 9.1.0462: eval5() and eval7 are too complex

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>
18 months agopatch 9.1.0461: too many strlen() calls in drawline.c v9.1.0461
John Marriott [Sun, 2 Jun 2024 17:44:11 +0000 (19:44 +0200)] 
patch 9.1.0461: too many strlen() calls in drawline.c

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>
18 months agopatch 9.1.0460: filetype: lintstagedrc files are not recognized v9.1.0460
İlyas Akın [Sun, 2 Jun 2024 14:57:00 +0000 (16:57 +0200)] 
patch 9.1.0460: filetype: lintstagedrc files are not recognized

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>
18 months agopatch 9.1.0459: Vim9: import autoload does not work with symlink v9.1.0459
nwounkn [Sun, 2 Jun 2024 14:10:07 +0000 (16:10 +0200)] 
patch 9.1.0459: Vim9: import autoload does not work with symlink

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>
18 months agopatch 9.1.0458: Coverity complains about division by zero v9.1.0458
Christian Brabandt [Sun, 2 Jun 2024 14:04:43 +0000 (16:04 +0200)] 
patch 9.1.0458: Coverity complains about division by zero

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>
18 months agopatch 9.1.0457: tests: test_gui fails on Wayland v9.1.0457
Christian Brabandt [Sat, 1 Jun 2024 18:55:09 +0000 (20:55 +0200)] 
patch 9.1.0457: tests: test_gui fails on Wayland

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>
18 months agopatch 9.1.0456: Left shift is incorrect with vartabstop and shiftwidth=0 v9.1.0456
Gary Johnson [Sat, 1 Jun 2024 18:51:33 +0000 (20:51 +0200)] 
patch 9.1.0456: Left shift is incorrect with vartabstop and shiftwidth=0

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>
18 months agoruntime(doc): clarify 'shortmess' flag "S"
Christian Brabandt [Sat, 1 Jun 2024 18:40:25 +0000 (20:40 +0200)] 
runtime(doc): clarify 'shortmess' flag "S"

fixes: #14893

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0455: MS-Windows: compiler warning for size_t to int conversion v9.1.0455
Mike Williams [Sat, 1 Jun 2024 09:33:40 +0000 (11:33 +0200)] 
patch 9.1.0455: MS-Windows: compiler warning for size_t to int conversion

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>
18 months agoruntime(doc): include some vim9 script examples in the help
Christian Brabandt [Fri, 31 May 2024 12:58:26 +0000 (14:58 +0200)] 
runtime(doc): include some vim9 script examples in the help

closes: #14848

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0454: minor issues in test_filetype with rasi test v9.1.0454
Christian Brabandt [Fri, 31 May 2024 10:26:12 +0000 (12:26 +0200)] 
patch 9.1.0454: minor issues in test_filetype with rasi test

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>
18 months agopatch 9.1.0453: filetype: rasi files are not recognized v9.1.0453
Pierrick Guillaume [Fri, 31 May 2024 10:00:49 +0000 (12:00 +0200)] 
patch 9.1.0453: filetype: rasi files are not recognized

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>
18 months agoruntime(java): Improve the matching of lambda expressions (#14880)
Aliaksei Budavei [Fri, 31 May 2024 09:11:34 +0000 (12:11 +0300)] 
runtime(java): Improve the matching of lambda expressions (#14880)

- Distinguish some formal parameters.
- Support multi-line definitions.

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0452: Configure checks for libelf unnecessarily v9.1.0452
youcai [Thu, 30 May 2024 17:31:36 +0000 (19:31 +0200)] 
patch 9.1.0452: Configure checks for libelf unnecessarily

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>
18 months agopatch 9.1.0451: No test for escaping '<' with shellescape() v9.1.0451
zeertzjq [Thu, 30 May 2024 17:27:25 +0000 (19:27 +0200)] 
patch 9.1.0451: No test for escaping '<' with shellescape()

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>
18 months agocheck.vim complains about overlong comment lines
Christian Brabandt [Thu, 30 May 2024 07:51:47 +0000 (09:51 +0200)] 
check.vim complains about overlong comment lines

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>
18 months agotranslation(it): Update Italian translation
Antonio Giovanni Colombo [Thu, 30 May 2024 07:49:40 +0000 (09:49 +0200)] 
translation(it): Update Italian translation

Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0450: evalc. code too complex v9.1.0450
Yegappan Lakshmanan [Thu, 30 May 2024 05:50:08 +0000 (07:50 +0200)] 
patch 9.1.0450: evalc. code too complex

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>
18 months agopatch 9.1.0449: MS-Windows: Compiler warnings v9.1.0449
Mike Williams [Thu, 30 May 2024 05:46:30 +0000 (07:46 +0200)] 
patch 9.1.0449: MS-Windows: Compiler warnings

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>
18 months agopatch 9.1.0448: compiler warning in eval.c v9.1.0448
Yegappan Lakshmanan [Wed, 29 May 2024 05:51:50 +0000 (07:51 +0200)] 
patch 9.1.0448: compiler warning in eval.c

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>
18 months agoruntime(stylus): remove remaining css code (#14866)
zeertzjq [Tue, 28 May 2024 06:23:41 +0000 (14:23 +0800)] 
runtime(stylus): remove remaining css code (#14866)

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>
18 months agoruntime(doc): Add ft_hare.txt to Reference Manual TOC
h-east [Mon, 27 May 2024 15:12:57 +0000 (17:12 +0200)] 
runtime(doc): Add ft_hare.txt to Reference Manual TOC

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>
18 months agoruntime(vim): re-generate vim syntax from generator
Christian Brabandt [Mon, 27 May 2024 13:50:07 +0000 (15:50 +0200)] 
runtime(vim): re-generate vim syntax from generator

related: #14861

Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agoruntime(vim): fix syntax vim bug (Close #14858) (#14861)
h_east [Mon, 27 May 2024 13:40:25 +0000 (22:40 +0900)] 
runtime(vim): fix syntax vim bug (Close #14858) (#14861)

Signed-off-by: h-east <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 months agopatch 9.1.0447: completion may be wrong when deleting all chars v9.1.0447
glepnir [Mon, 27 May 2024 13:11:01 +0000 (15:11 +0200)] 
patch 9.1.0447: completion may be wrong when deleting all chars

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>