]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
2 weeks agopatch 9.1.1826: Patch v9.1.1230 causes confusion about Ctrl-C behaviour v9.1.1826
Christian Brabandt [Sun, 5 Oct 2025 13:00:11 +0000 (13:00 +0000)] 
patch 9.1.1826: Patch v9.1.1230 causes confusion about Ctrl-C behaviour

Problem:  Patch v9.1.1230 causes confusion about Ctrl-C behaviour
          (kuuote, after v9.1.1230)
Solution: Revert the behaviour, keep the old behaviour

fixes: #17266

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): update if_perl after v9.1.1822)
Christian Brabandt [Sat, 4 Oct 2025 11:02:00 +0000 (11:02 +0000)] 
runtime(doc): update if_perl after v9.1.1822)

closes: #18468

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1825: completion: flicker when LSP server is slow v9.1.1825
Girish Palya [Sat, 4 Oct 2025 10:55:40 +0000 (10:55 +0000)] 
patch 9.1.1825: completion: flicker when LSP server is slow

Problem:  completion: flicker when LSP server is slow
Solution: reinsert leader text before invoking user function
          (Girish Palya)

Reference:
https://github.com/girishji/vimcomplete/issues/101#issuecomment-3343063245

In insert-mode completion, the leader text is temporarily removed while
searching for candidates. When the LSP server responds slowly, the
client may call `:sleep` to wait, which triggers `out_flush()`. This
causes the deleted text to disappear briefly before being redrawn,
resulting in visible flicker.

This commit reinserts the leader text before invoking the user function,
and removes it again afterward to eliminate flicker.

closes: #18468

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): update credits section
Christian Brabandt [Sat, 4 Oct 2025 10:48:11 +0000 (10:48 +0000)] 
runtime(doc): update credits section

closes: #18485

Co-authored-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1824: tests: no test for displaying 'foldcolumn' with Unicode "foldinner" v9.1.1824
zeertzjq [Sat, 4 Oct 2025 10:35:49 +0000 (10:35 +0000)] 
patch 9.1.1824: tests: no test for displaying 'foldcolumn' with Unicode "foldinner"

Problem:  tests: no test for displaying 'foldcolumn' with Unicode
          "foldinner" in 'fillchars'.
Solution: Add a few more test cases.  Also fix misplaced "foldinner"
          entry in version9.txt (zeertzjq).

closes: #18483

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1823: diff: w_topline may be invalidated v9.1.1823
Yee Cheng Chin [Sat, 4 Oct 2025 10:26:55 +0000 (10:26 +0000)] 
patch 9.1.1823: diff: w_topline may be invalidated

Problem:  diff: w_topline may be invalidated
Solution: Update lnum in diff_set_topline()
          (Yee Cheng Chin).

This can happen in ex_diffupdate() for certain edge cases which cause
the logic to now be wrong. This was also the root cause for #18437 where
Vim would crash due to a null pointer dereferencing (said pointer would
not be null under normal circumstances).

related: #18437
closes: #18484

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): Add explanation for Vim's IME
Mao-Yining [Sat, 4 Oct 2025 10:22:07 +0000 (10:22 +0000)] 
runtime(doc): Add explanation for Vim's IME

related: #10513

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(java): Make changes for JDK 25
Aliaksei Budavei [Sat, 4 Oct 2025 10:09:58 +0000 (10:09 +0000)] 
runtime(java): Make changes for JDK 25

- Add to the list of java.lang classes three new types: IO,
  ScopedValue, and ScopedValue.Carrier.
- Add to the list of java.lang interfaces a new type:
  ScopedValue.CallableOp.
- "Demote" RuntimePermission from the list of java.lang
  class types to javaLangDeprecated.
- Reintroduce supported syntax-preview-feature numbers 455
  and 488 as _a new number_ 507.

References:
https://bugs.openjdk.org/browse/JDK-8353641
https://openjdk.org/jeps/506 (Scoped Values)
https://openjdk.org/jeps/507 (Primitive Types in Patterns etc.)
https://openjdk.org/jeps/512 (Compact Source Files etc.)

closes: #18479

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(help): Update syntax
Doug Kearns [Sat, 4 Oct 2025 09:57:54 +0000 (09:57 +0000)] 
runtime(help): Update syntax

Match Vim9 return types in builtin function specifications.

closes: #18477

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1822: Makefile still supports Perl < 5.005 v9.1.1822
Hirohito Higashi [Fri, 3 Oct 2025 14:16:08 +0000 (14:16 +0000)] 
patch 9.1.1822: Makefile still supports Perl < 5.005

Problem:  Makefile still supports Perl < 5.005
Solution: Remove support for Perl < 5.005, it's long been obsolete
          (Hirohito Higashi)

closes: #18474

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agonsis: Getting the Vim version number via makensis
RestorerZ [Fri, 3 Oct 2025 14:12:41 +0000 (14:12 +0000)] 
nsis: Getting the Vim version number via makensis

closes: #18470

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agonsis: Duplicate files in the icons.zip archive have been removed
RestorerZ [Fri, 3 Oct 2025 14:05:55 +0000 (14:05 +0000)] 
nsis: Duplicate files in the icons.zip archive have been removed

related: #18469

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agonsis: delete README.txt from the icons directory
RestorerZ [Fri, 3 Oct 2025 14:04:57 +0000 (14:04 +0000)] 
nsis: delete README.txt from the icons directory

related: #18469

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoFilelist: include nsis/icons/README.txt again
Christian Brabandt [Fri, 3 Oct 2025 08:51:47 +0000 (08:51 +0000)] 
Filelist: include nsis/icons/README.txt again

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1821: filetype: Not all PKL files are recognized v9.1.1821
Jan Claußen [Fri, 3 Oct 2025 08:41:32 +0000 (08:41 +0000)] 
patch 9.1.1821: filetype: Not all PKL files are recognized

Problem:  filetype: Not all PKL files are recognized
Solution: Detect *.pcf as pkl filetype, detect using the pkl-lsp://
          protocol as pkl filetype, include PKL syntax script
          (Jan Claußen)

This adds basic syntax support for the new PKL language by Apple.

What works:
- Shebang support
- Comment support
- Integers (decimal, hex, octal and binary) support
- Floating point support including exponentials
- Basic datatype support
- Unicode escape delimiters
- Escape code support
- String interpolation
- Support up to five pounds for custom delimiters
- Folding of multi-line comments and blocks

What doesn't work:

  The language heavily uses parameterized type declarations, which can get
  very complex. It is very hard to highlight this properly. There is
  official Tree-sitter support for this. Since it is hard to pull this off
  in a vim syntax file, I opted for basic support of the data types.

References:
  https://github.com/apple/pkl-pantry

fixes: #18271
closes: #18274

Signed-off-by: Jan Claußen <jan.claussen10@web.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1820: completion: some issues with 'acl' v9.1.1820
Girish Palya [Fri, 3 Oct 2025 08:28:38 +0000 (08:28 +0000)] 
patch 9.1.1820: completion: some issues with 'acl'

Problem:  completion: some issues with 'acl' when "preinsert" and
          "longest" is in 'completeopt' (musonius, after v9.1.1638)
Solution: Fix various issues (see details below) (Girish Palya)

This commit addresses multiple issues in the 'autocompletedelay' behavior with
"preinsert" and "longest":

- Prevents spurious characters from being inserted.
- Ensures the completion menu is not shown until `autocompletedelay` has
  expired.
- Shows the "preinsert" effect immediately.
- Keeps the "preinsert" effect visible even when a character is deleted.

fixes: #18443
closes: #18460

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1819: Cannot configure the inner foldlevel indicator v9.1.1819
Maria José Solano [Fri, 3 Oct 2025 08:24:31 +0000 (08:24 +0000)] 
patch 9.1.1819: Cannot configure the inner foldlevel indicator

Problem:  Cannot configure the inner foldlevel indicator for the
          foldcolumn
Solution: Add "foldinner" suboption value to the 'fillchar' option
          (Maria José Solano).

closes: #18365

Signed-off-by: Maria José Solano <majosolano99@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): fix typo after commit cfcf1a57cbef
Christian Brabandt [Fri, 3 Oct 2025 08:11:39 +0000 (08:11 +0000)] 
runtime(doc): fix typo after commit cfcf1a57cbef

related: #18452

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoCI: stop using macos-13 runner
zeertzjq [Fri, 3 Oct 2025 08:04:25 +0000 (08:04 +0000)] 
CI: stop using macos-13 runner

> The macOS 13 runner image will be retired by December 4th, 2025.

Update to the macos-15-intel runner.

It seems that runners ending with "large" require an enterprise plan, so
macos-15-intel is the only other available macOS Intel runner.

Also both macOS 15 runners now use Xcode 16.4 by default, so there is no
need to install it manually.

closes: #18471

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime: Update a few icons
RestorerZ [Fri, 3 Oct 2025 08:02:02 +0000 (08:02 +0000)] 
runtime: Update a few icons

related: #18463
closes: #18457

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agonsis: added a note about installer icons in README.txt
RestorerZ [Fri, 3 Oct 2025 07:59:03 +0000 (07:59 +0000)] 
nsis: added a note about installer icons in README.txt

This fixes a few issues introduced in commit 3495936:

-  Deleted the icons directory
-  Duplicate files in the icons.zip archive have been removed
-  Added a note about installer icons in README.txt

closes: #18469

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(log): remove domain highlight
Mao-Yining [Fri, 3 Oct 2025 07:58:06 +0000 (07:58 +0000)] 
runtime(log): remove domain highlight

The domain highlight is eazy to be confused and useless. Because we can
catch URL as a much obvious syntax.

closes: #18467

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(new-tutor): fix mismatched line numbers in vim-02-beginner
zeertzjq [Fri, 3 Oct 2025 07:55:11 +0000 (07:55 +0000)] 
runtime(new-tutor): fix mismatched line numbers in vim-02-beginner

closes: #18466

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1818: possible crash when calculating topline in diff.c v9.1.1818
Christian Brabandt [Wed, 1 Oct 2025 21:25:40 +0000 (21:25 +0000)] 
patch 9.1.1818: possible crash when calculating topline in diff.c

Problem:  possible crash when calculating topline in diff.c
          (youngmith)
Solution: Check for pointer being Null before accessing it

fixes: #18437

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoFilelist: include nsis/icons/README.txt
Christian Brabandt [Wed, 1 Oct 2025 21:24:22 +0000 (21:24 +0000)] 
Filelist: include nsis/icons/README.txt

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): Clarify use of "noselect" in 'completeopt'
Girish Palya [Wed, 1 Oct 2025 21:09:53 +0000 (21:09 +0000)] 
runtime(doc): Clarify use of "noselect" in 'completeopt'

closes: #18452

Co-authored-by: Tomasz N <przepompownia@users.noreply.github.com>
Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(vim): Update base syntax, contain user command replacement text
Doug Kearns [Wed, 1 Oct 2025 21:03:22 +0000 (21:03 +0000)] 
runtime(vim): Update base syntax, contain user command replacement text

Ensure that :command replacement text terminates at the end of the
logical line.

Add :command to the generator exclusion list.

fixes: #18414 (@Dougaak)
fixes: #18448 (Maxim Kim)
closes: #18415

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(optwin): Update formatting of option descriptions
RestorerZ [Wed, 1 Oct 2025 20:57:14 +0000 (20:57 +0000)] 
runtime(optwin): Update formatting of option descriptions

closes: #18446

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1817: popup: there are some position logic bugs v9.1.1817
Girish Palya [Wed, 1 Oct 2025 20:52:44 +0000 (20:52 +0000)] 
patch 9.1.1817: popup: there are some position logic bugs

Problem:  popup: there are some position logic bugs
Solution: Refactor position logic and fix a few bugs
          (Girish Palya).

This change does the following:

- Simplified and rewrote horizontal positioning logic (was overly
  complex).
- Split horizontal and vertical positioning into separate functions.
- Fixed missing truncation marker (e.g. `>`) when items were truncated
  and `pummaxwidth` was not set.
- Fixed occasional extra space being added to menu items.
- Update tests

closes: #18441

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agonsis: Rework icons, update icons archive, add copyright notice
RestorerZ [Wed, 1 Oct 2025 20:47:27 +0000 (20:47 +0000)] 
nsis: Rework icons, update icons archive, add copyright notice

closes: #18456

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agorutnime(new-tutor): Updated English new tutor
RestorerZ [Wed, 1 Oct 2025 20:26:54 +0000 (20:26 +0000)] 
rutnime(new-tutor): Updated English new tutor

This updates the new tutor with the changes from commit
b87f133b0724f7328e7dd41dd611af67f4ae3e39

closes: #18461

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): Tweak documentation style
Hirohito Higashi [Wed, 1 Oct 2025 20:07:33 +0000 (20:07 +0000)] 
runtime(doc): Tweak documentation style

closes: #18462

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1816: existing icon files are dated v9.1.1816
RestorerZ [Wed, 1 Oct 2025 20:03:47 +0000 (20:03 +0000)] 
patch 9.1.1816: existing icon files are dated

Problem:  existing icon files are dated
Solution: Update and remake those icons using 256 colors
          (RestorerZ)

closes: #18463

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(netrw): MS-Windows: fix netrw not being able to navigate to parent folder
Miguel Barro [Wed, 1 Oct 2025 19:45:38 +0000 (19:45 +0000)] 
runtime(netrw): MS-Windows: fix netrw not being able to navigate to parent folder

fixes: #18421
closes: #18464

Signed-off-by: Miguel Barro <miguel.barro@live.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): make :h virtcol() more accurate
zeertzjq [Wed, 1 Oct 2025 18:30:38 +0000 (18:30 +0000)] 
runtime(doc): make :h virtcol() more accurate

The current description (especially the "unlimited width" part) is
inaccurate in several ways:
- The size of virtual text can depend on window width. In particular,
  the size of "above" virtual text can be equal to window width.
- A double-width character that doesn't fit adds 1 to the virtual column
  of the following characters.
- The size of 'showbreak' and 'breakindent' is counted.

related: #5713
closes: #18447

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(help): Update syntax, match legacy header at :help vim9-mix
Doug Kearns [Tue, 30 Sep 2025 20:12:55 +0000 (20:12 +0000)] 
runtime(help): Update syntax, match legacy header at :help vim9-mix

closes: #18458

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1815: file mode changes in os_amiga.pro v9.1.1815
Hirohito Higashi [Tue, 30 Sep 2025 20:03:49 +0000 (20:03 +0000)] 
patch 9.1.1815: file mode changes in os_amiga.pro

Problem:  file mode changes in os_amiga.pro to 644
          (RestorerZ, after v9.1.1811)
Solution: Fix the permissions of proto/os_amiga.pro to 644
          (Hirohito Higashi).

closes: #18454

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1814: Patch v9.1.1812 causes crashes v9.1.1814
Christian Brabandt [Tue, 30 Sep 2025 20:01:00 +0000 (20:01 +0000)] 
patch 9.1.1814: Patch v9.1.1812 causes crashes

Problem:  Patch v9.1.1812 causes crashes
Solution: Revert v9.1.1812

Revert "patch 9.1.1812: completion: flicker with slow LSPs"
This reverts commit 71b97f29054135151d618433a11ce611ba25844d.

fixes: #18450

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1813: MS-Windows: title bar is always white v9.1.1813
Mao-Yining [Mon, 29 Sep 2025 21:13:57 +0000 (21:13 +0000)] 
patch 9.1.1813: MS-Windows: title bar is always white

Problem:  MS-Windows: title bar is always white
Solution: Set_caption() and set the title bars color to the
          Normal highlighting background (Mao-Yining)

The implement of 'guidarkmode' is a much longer task, so I would like to
complete this most needed feature.

This commit seen the caption bar as the extension of the background so
it is follow the option 'background' before Windows 11 and follow the
background color after Windows 11.

fixes: #3922
fixes: #18028
closes: #18282

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1812: completion: flicker with slow LSPs v9.1.1812
Girish Palya [Mon, 29 Sep 2025 20:56:06 +0000 (20:56 +0000)] 
patch 9.1.1812: completion: flicker with slow LSPs

Problem:  completion: flicker with slow LSPs
Solution: Disable flushing the changed text (Girish Palya).

In insert-mode completion, the leader text is temporarily deleted while
searching for completion candidates. If the LSP server responds slowly,
the client may call `:sleep` to wait, which triggers `out_flush()`. This
causes the deleted text to briefly disappear before being redrawn when
results arrive, producing a visible flicker.

There are two possible fixes:

1. Suppress flushing while a user function (e.g. LSP client) is waiting.
2. Reinsert the deleted text before invoking the user function.

This Commit implements (1), which is the simpler solution, though somewhat
heavy-handed. If you think this may introduce unwanted side effects, I
can rework it to use (2).

closes: #18439

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Update os-support section for Amiga OS
Ola Söder [Mon, 29 Sep 2025 20:22:48 +0000 (20:22 +0000)] 
runtime(doc): Update os-support section for Amiga OS

related: #18423

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1811: Amiga: Initialization of random buffer can be improved v9.1.1811
Ola Söder [Mon, 29 Sep 2025 20:19:36 +0000 (20:19 +0000)] 
patch 9.1.1811: Amiga: Initialization of random buffer can be improved

Problem:  Amiga: Initialization of random buffer can be improved
Solution: Use RANDOM device when available (Ola Söder)

closes: #18419

Signed-off-by: Ola Söder <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1810: completion: "longest" doesn't work for manual completion with 'ac' v9.1.1810
zeertzjq [Mon, 29 Sep 2025 20:11:37 +0000 (20:11 +0000)] 
patch 9.1.1810: completion: "longest" doesn't work for manual completion with 'ac'

Problem:  completion: "longest" doesn't work for manual completion when
          'autocomplete' is on (after 9.1.1800).
Solution: Only reset compl_get_longest when enabling autocompletion
          (zeertzjq).

closes: #18430

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1809: winclip.pro included in PRO_AUTO v9.1.1809
Hirohito Higashi [Mon, 29 Sep 2025 19:58:57 +0000 (19:58 +0000)] 
patch 9.1.1809: winclip.pro included in PRO_AUTO

Problem:  winclip.pro included in PRO_AUTO
Solution: Remove it from PRO_AUTO since it is already defined in
          PRO_MANUAL (Hirohito Higashi).

closes: #18432

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Tweak documentation style
Hirohito Higashi [Mon, 29 Sep 2025 19:57:27 +0000 (19:57 +0000)] 
runtime(doc): Tweak documentation style

closes: #18436

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agonsis: Load correct readme at the end, refactor gvim.nsi slightly
RestorerZ [Mon, 29 Sep 2025 19:51:24 +0000 (19:51 +0000)] 
nsis: Load correct readme at the end, refactor gvim.nsi slightly

closes: #18440

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agonsis: Reorder code blocks
RestorerZ [Mon, 29 Sep 2025 19:50:45 +0000 (19:50 +0000)] 
nsis: Reorder code blocks

related: #18440

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agonsis: Split gvim.nsi and factor out auxiliary code into auxiliary.nsh
RestorerZ [Mon, 29 Sep 2025 19:48:54 +0000 (19:48 +0000)] 
nsis: Split gvim.nsi and factor out auxiliary code into auxiliary.nsh

Improves maintainability by separating helper functions and macros from
the main installer script.

related: #18440

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agonsis: Fix indentation and alignment issues in gvim.nsi
RestorerZ [Mon, 29 Sep 2025 19:46:23 +0000 (19:46 +0000)] 
nsis: Fix indentation and alignment issues in gvim.nsi

related: #18440

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(tex): add amsmath support to tex syntax script
Eisuke Kawashima [Mon, 29 Sep 2025 19:43:51 +0000 (19:43 +0000)] 
runtime(tex): add amsmath support to tex syntax script

Problem:  tex syntax file does not support some of the math equation
          environments provided by amsmath.sty, therefore well-formed
          snippet is highlighted as "texBadMath"
Solution: add the environments

closes: #18433

Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1808: Option insecure flags not copied when splitting window v9.1.1808
zeertzjq [Mon, 29 Sep 2025 19:30:07 +0000 (19:30 +0000)] 
patch 9.1.1808: Option insecure flags not copied when splitting window

Problem:  Option insecure flags not copied when splitting window.
Solution: Move window-local insecure flags to winopt_T and copy them
          properly (zeertzjq).

closes: #18434

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1807: :set doesn't clear local insecure flag like :setlocal does v9.1.1807
zeertzjq [Mon, 29 Sep 2025 19:26:36 +0000 (19:26 +0000)] 
patch 9.1.1807: :set doesn't clear local insecure flag like :setlocal does

Problem:  :set doesn't clear local insecure flag like :setlocal does.
Solution: Also clear the local insecure flag when using :set (zeertzjq).

This applies to local options like 'wrap', 'foldtext' and 'foldexpr',
whose global flags are actually never used.  For global-local options
like 'statusline' the behavior is already correct, so add some tests.

related: #18434

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): update list of modifiers at :h expand()
Christian Brabandt [Mon, 29 Sep 2025 19:15:52 +0000 (19:15 +0000)] 
runtime(doc): update list of modifiers at :h expand()

fixes: #18435

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1806: Missing PROTO defines v9.1.1806
Hirohito Higashi [Sun, 28 Sep 2025 18:13:21 +0000 (18:13 +0000)] 
patch 9.1.1806: Missing PROTO defines

Problem:  Missing PROTO defines
Solution: Update ifdefs, update Makefile dependencies,
          updated proto files (Hirohito Higashi).

closes: #18406

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(help): Update syntax, add vim9 example language
Doug Kearns [Sun, 28 Sep 2025 18:06:04 +0000 (18:06 +0000)] 
runtime(help): Update syntax, add vim9 example language

"vim9" is Vim9 script and "vim" is legacy script.

See: https://github.com/vim/vim/pull/18350#discussion_r2372462539

closes: #18407

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, improve line-continuation skip patterns
Doug Kearns [Sun, 28 Sep 2025 18:02:13 +0000 (18:02 +0000)] 
runtime(vim): Update base syntax, improve line-continuation skip patterns

Factor out the common prefix in line-continuation :syn-skip patterns.

closes: #18416

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Fix :help complete() example
Doug Kearns [Sun, 28 Sep 2025 18:01:15 +0000 (18:01 +0000)] 
runtime(doc): Fix :help complete() example

closes: #18417

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1805: Amiga: Missing build date in version string v9.1.1805
Ola Söder [Sun, 28 Sep 2025 17:58:44 +0000 (17:58 +0000)] 
patch 9.1.1805: Amiga: Missing build date in version string

Problem:  Amiga: Missing build date in version string
Solution: Set build date in CFLAGS in Makefile (Ola Söder)

closes: #18418

Signed-off-by: Ola Söder <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, allow Vim9 :echo tail comments
Doug Kearns [Sun, 28 Sep 2025 17:56:01 +0000 (17:56 +0000)] 
runtime(vim): Update base syntax, allow Vim9 :echo tail comments

- Match comments after Vim9 :echo and :execute.
- Match comments after Vim9 and legacy :eval.

closes: #18420

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1804: Wrong indentation of nested ifdefs in findfile.c v9.1.1804
Ola Söder [Sun, 28 Sep 2025 17:53:02 +0000 (17:53 +0000)] 
patch 9.1.1804: Wrong indentation of nested ifdefs in findfile.c

Problem:  Wrong indentation of nested ifdefs in findfile.c
Solution: Update indentation (Ola Söder)

closes: #18422

Signed-off-by: Ola Söder <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1803: Amiga: build errors v9.1.1803
Ola Söder [Sun, 28 Sep 2025 17:48:43 +0000 (17:48 +0000)] 
patch 9.1.1803: Amiga: build errors

Problem:  Amiga: build errors
Solution: Update preprocessor conditionals (Ola Söder).

closes: #18423

Signed-off-by: Ola Söder <rolfkopman@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(java): Recognise _module_ import declarations
Aliaksei Budavei [Sun, 28 Sep 2025 17:40:29 +0000 (17:40 +0000)] 
runtime(java): Recognise _module_ import declarations

After two preview proposals (JEPs 476 and 494), _module_
import declarations are now a part of the language (JDK 25).

Reference:
https://openjdk.org/jeps/511

closes: #18424

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1802: 'nowrap' in a modeline may hide malicious code v9.1.1802
zeertzjq [Sun, 28 Sep 2025 17:29:19 +0000 (17:29 +0000)] 
patch 9.1.1802: 'nowrap' in a modeline may hide malicious code

Problem:  'nowrap' in a modeline may hide malicious code.
Solution: Forcibly use '>' as 'listchars' "extends" if 'nowrap' was set
          from a modeline (zeertzjq).

Manual `:setlocal nowrap` disables this behavior.  There is a separate
problem with `:set nowrap` that also applies to some other options.

related: #18214
related: #18399
closes: #18425

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1801: Vim9: misleading error when extending dictionary v9.1.1801
Yegappan Lakshmanan [Sun, 28 Sep 2025 17:17:37 +0000 (17:17 +0000)] 
patch 9.1.1801: Vim9: misleading error when extending dictionary

Problem:  Vim9: misleading error when extending dictionary
          (lacygoill)
Solution: Give a proper error message when a Dict type is used with a
          compound operator (Yegappan Lakshmanan)

fixes: #8072
closes: #18426

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1800: completion: strange behaviour with 'ac' completeopt=longest,preinsert v9.1.1800
Girish Palya [Sun, 28 Sep 2025 17:12:55 +0000 (17:12 +0000)] 
patch 9.1.1800: completion: strange behaviour with 'ac' completeopt=longest,preinsert

Problem:  completion: strange behaviour with 'ac'
          completeopt=longest,preinsert (zeertzjq)
Solution: Let preinsert take precedence (Girish Palya)

fixes: #18410
closes: #18428

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1799: completion: crash with autcompletion v9.1.1799
Girish Palya [Sun, 28 Sep 2025 17:07:29 +0000 (17:07 +0000)] 
patch 9.1.1799: completion: crash with autcompletion

Problem:  completion: crash with autcompletion
          (Maxim Kim)
Solution: Rework remove_old_matches (Girish Palya)

fixes: #18378
fixes: #18390
fixes: #18391
closes: #18427

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1798: Wrong display with 'sms' and long wrapped virt text at EOL v9.1.1798
zeertzjq [Sat, 27 Sep 2025 12:18:38 +0000 (12:18 +0000)] 
patch 9.1.1798: Wrong display with 'sms' and long wrapped virt text at EOL

Problem:  Wrong display with 'smoothscroll' and long wrapped virtual
          text at EOL.
Solution: Handle w_skipcol inside long wrapped virtual text at EOL
          (zeertzjq).

closes: #18408

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): improve preinserted() doc
zeertzjq [Sat, 27 Sep 2025 12:17:09 +0000 (12:17 +0000)] 
runtime(doc): improve preinserted() doc

Change the second "if" to "because", otherwise it may be misinterpreted
that preinserted() can return non-zero just because these options are
set.

closes: #18409

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1797: completion: autocompletion can be improved v9.1.1797
Girish Palya [Fri, 26 Sep 2025 17:29:38 +0000 (17:29 +0000)] 
patch 9.1.1797: completion: autocompletion can be improved

Problem:  completion: autocompletion can be improved
Solution: Add support for "longest" and "preinsert" in 'autocomplete';
          add preinserted() (Girish Palya)

* Add support for "longest" in 'completeopt' when 'autocomplete'
  is enabled. (Note: the cursor position does not change automatically
  when 'autocomplete' is enabled.)
* Add support for "preinsert" when 'autocomplete' is enabled. Ensure
  "preinsert" works the same with and without 'autocomplete'
* introduce the preinserted() Vim script function, useful for defining
  custom key mappings.

fixes: #18314
closes: #18387

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1796: Wrong cursor position with wrapped "after" virtual text and 'sbr' v9.1.1796
zeertzjq [Fri, 26 Sep 2025 17:00:10 +0000 (17:00 +0000)] 
patch 9.1.1796: Wrong cursor position with wrapped "after" virtual text and 'sbr'

Problem:  Wrong cursor position with wrapped "after" virtual text and
          'showbreak' (Ben Jackson)
Solution: Count size of 'showbreak' in wrapped "after" virtual text in
          line size (zeertzjq).

fixes: #18398
closes: #18400

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): update getwininfo() documentation about popups
Christian Brabandt [Fri, 26 Sep 2025 16:57:05 +0000 (12:57 -0400)] 
runtime(doc): update getwininfo() documentation about popups

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1795: Vim9: popup_show() may return void v9.1.1795
Yegappan Lakshmanan [Fri, 26 Sep 2025 16:30:52 +0000 (16:30 +0000)] 
patch 9.1.1795: Vim9: popup_show() may return void

Problem:  Vim9: popup_show() may return void
Solution: Modify popup_show() to return -1 for an invalid popup window
          id (Yegappan Lakshmanan).

fixes: #18389
closes: #18401

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, match null_tuple literal
Doug Kearns [Fri, 26 Sep 2025 16:28:00 +0000 (16:28 +0000)] 
runtime(vim): Update base syntax, match null_tuple literal

closes: #18404

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1794: configure: terminfo test does not work with musl v9.1.1794
Christian Brabandt [Fri, 26 Sep 2025 16:23:06 +0000 (16:23 +0000)] 
patch 9.1.1794: configure: terminfo test does not work with musl

Problem:  configure: terminfo test does not work with musl
          (T3rm1, after v9.9.1.0837)
Solution: include term.h in configure script, add forward declarations,
          in case headers are not found

fixes: #18393
closes: #18405

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1793: Link error when build without channel feature v9.1.1793
Christian Brabandt [Fri, 26 Sep 2025 16:18:55 +0000 (16:18 +0000)] 
patch 9.1.1793: Link error when build without channel feature

Problem:  Link error when build without channel feature
          (lindhobe, after v9.1.1774)
Solution: Remove ifdef FEAT_JOB_CHANNEL around
          check_for_string_or_blob_arg()

fixes: #18396

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1792: List of changes not protected from changes v9.1.1792
Paul Ollis [Thu, 25 Sep 2025 20:11:34 +0000 (20:11 +0000)] 
patch 9.1.1792: List of changes not protected from changes

Problem:  List of changes not protected from changes when processing
          listeners (after v9.1.1782)
Solution: Fully lock changes list for listener callbacks (Paul Ollis)

closes: #18385

Signed-off-by: Paul Ollis <paul@cleversheep.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): make order of verbs match order of operators
zeertzjq [Thu, 25 Sep 2025 20:07:24 +0000 (20:07 +0000)] 
runtime(doc): make order of verbs match order of operators

related: #18380
closes: #18388

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): MS-Windows: Improve documentation about VTP support
Christian Brabandt [Thu, 25 Sep 2025 20:03:13 +0000 (20:03 +0000)] 
runtime(doc): MS-Windows: Improve documentation about VTP support

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1791: type(void) throws an internal error v9.1.1791
Yegappan Lakshmanan [Thu, 25 Sep 2025 19:21:16 +0000 (19:21 +0000)] 
patch 9.1.1791: type(void) throws an internal error

Problem:  type(void) throws an internal error (atitcreate)
Solution: Return proper error message (Yegappan Lakshmanan)

fixes: #17310
closes: #18392

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(python): fix 'type' syntax highlighting
Jon Parise [Thu, 25 Sep 2025 19:08:14 +0000 (19:08 +0000)] 
runtime(python): fix 'type' syntax highlighting

The previous patterns unintentionally highlighted words like 'typename'.

addresses: https://github.com/vim/vim/pull/18090#issuecomment-3333025523
closes: #18394

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1790: completion: Enter does not insert match with "noinsert" v9.1.1790
zeertzjq [Thu, 25 Sep 2025 06:08:04 +0000 (06:08 +0000)] 
patch 9.1.1790: completion: Enter does not insert match with "noinsert"

Problem:  completion: Enter does not insert match with "noinsert".
          (Sergey Vlasov)
Solution: Check for compl_shown_match instead of compl_selected_item
          (zeertzjq).

fixes: #18386
related: #1653
closes: #18395

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1789: MS-Windows: using wrong check for bold font v9.1.1789
Shay [Thu, 25 Sep 2025 05:57:11 +0000 (05:57 +0000)] 
patch 9.1.1789: MS-Windows: using wrong check for bold font

Problem:  MS-Windows: using wrong check for bold font
          (after v9.1.1347)
Solution: Test if lf.lfWeight == FW_BOLD instead of a simple truthiness
          test (Shay)

Commit 411ae58 replaced an operator conditional

`if lf.lfWeight == FW_BOLD`

with a truthiness check

`if lf.lfWeight`

This conditional determines whether `:b` is inserted into the value of
`guifont`. The truthiness check allowed both FW_STANDARD and FW_BOLD
font weights to trigger the insertion of `:b` into the `guifont` string.
This commit restores the `== FW_BOLD` condition.

fixes: #18383
closes: #18397

Signed-off-by: Shay <shay_public@hotmail.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): fix inconsistent indent in cmdline.txt
zeertzjq [Wed, 24 Sep 2025 18:01:29 +0000 (18:01 +0000)] 
runtime(doc): fix inconsistent indent in cmdline.txt

Also fix typo in autoload/netrw.vim.

related: #18371
closes: #18376

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Improve documentation of the ..= assignment operator
Doug Kearns [Wed, 24 Sep 2025 18:00:16 +0000 (18:00 +0000)] 
runtime(doc): Improve documentation of the ..= assignment operator

Explicitly mention the "..=" compound assignment operator everywhere
".=" is documented.

Convert some uses of "." and ".=" in the examples to ".." and "..=",
respectively.

closes: #18380

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(javascript): Add "using" keyword to JavaScript syntax highlighting
Devin Weaver [Wed, 24 Sep 2025 17:56:00 +0000 (17:56 +0000)] 
runtime(javascript): Add "using" keyword to JavaScript syntax highlighting

Prior to this change, const and let were keywords for variable
declarations.

This change adds `using` as another keyword for variable declaration.

This JavaScript feature was recently introduced.

Docs:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/using

closes: #18381

Signed-off-by: Devin Weaver <suki@tritarget.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1788: Vim9: can declare a void variable v9.1.1788
Yegappan Lakshmanan [Wed, 24 Sep 2025 17:51:17 +0000 (17:51 +0000)] 
patch 9.1.1788: Vim9: can declare a void variable

Problem:  Vim9: can declare a void variable (Ernie Rael)
Solution: Disallow such variable declaration (Yegappan Lakshmanan)

fixes: #13773
closes: #18382

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): mention improved rendering with 'termguicolors'
Christian Brabandt [Wed, 24 Sep 2025 17:43:15 +0000 (17:43 +0000)] 
runtime(doc): mention improved rendering with 'termguicolors'

related: #9715

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(swayconfig): support new config options in syntax script
Felix Pehla [Tue, 23 Sep 2025 20:31:18 +0000 (20:31 +0000)] 
runtime(swayconfig): support new config options in syntax script

From sway(5):
 - allow_tearing
 - primary_selection
 - swaybg_command
 - swaynag_command

From sway-output(5):
 - color_profile
 - allow_tearing

From sway-input(5):
 - clickfinger_button_map
 - rotation_angle
 - scroll_button_lock

closes: #18293

Signed-off-by: Felix Pehla <29adc1fd92@gmail.com>
Signed-off-by: James Eapen <james.eapen@vai.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1787: filetype: not all Sway config files are recognized v9.1.1787
Felix Pehla [Tue, 23 Sep 2025 20:25:11 +0000 (20:25 +0000)] 
patch 9.1.1787: filetype: not all Sway config files are recognized

Problem:  filetype: not all Sway config files are recognized
Solution: Detect files within */sway/config.d/* as swayconfig filetype
          (Felix Pehla).

Sways default config automatically includes files placed in
@sysconfdir@/sway/config.d/* (see config.in), so it makes sense to use
the sway syntax for those.

related: #18293

Signed-off-by: Felix Pehla <29adc1fd92@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): update Vim policy
shane.xb.qian [Tue, 23 Sep 2025 20:09:18 +0000 (20:09 +0000)] 
runtime(doc): update Vim policy

closes: #18372

Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation(sr): Update Serbian messages translation
Ivan Pešić [Tue, 23 Sep 2025 20:05:15 +0000 (20:05 +0000)] 
translation(sr): Update Serbian messages translation

closes: #18372

Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): update live-grep and fuzzy-file-picker examples
Konfekt [Tue, 23 Sep 2025 19:53:37 +0000 (19:53 +0000)] 
runtime(doc): update live-grep and fuzzy-file-picker examples

closes: #18371

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(sh): refactored sh.vim syntax script
Bjoern Foersterling [Tue, 23 Sep 2025 19:47:29 +0000 (19:47 +0000)] 
runtime(sh): refactored sh.vim syntax script

- unified bashStatement, kshStatement and shStatement as much as
  possible
- separated builtin commands from external programs
- cleaned up kornshell flavor logic
- fixed alias syntax highlighting
- added test for bash alias syntax highlighting
- removed daemon keyword

closes: #18355

Signed-off-by: Bjoern Foersterling <bjoern.foersterling@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(vim): Update base syntax, match :terminal command
Doug Kearns [Tue, 23 Sep 2025 18:31:34 +0000 (18:31 +0000)] 
runtime(vim): Update base syntax, match :terminal command

Match the full :terminal command syntax.

closes: #18367

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(vim): Update base syntax, match :wincmd
Doug Kearns [Tue, 23 Sep 2025 18:24:53 +0000 (18:24 +0000)] 
runtime(vim): Update base syntax, match :wincmd

Match the full :wincmd command syntax.

Allow for oneline assignment to Vim9 variables named winc[md].

Fixes #18368.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation(sr): Update vim-02-beginner.tutor translation
Ivan Pešić [Tue, 23 Sep 2025 18:22:52 +0000 (18:22 +0000)] 
translation(sr): Update vim-02-beginner.tutor translation

closes: #18374

Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation(sr): Update vim-01-beginner.tutor translation
Ivan Pešić [Tue, 23 Sep 2025 18:22:00 +0000 (18:22 +0000)] 
translation(sr): Update vim-01-beginner.tutor translation

Fix some mistakes and update the text

related: #18374

Signed-off-by: Ivan Pešić <27575106+eevan78@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1786: Compile error with clipboard v9.1.1786
Foxe Chen [Tue, 23 Sep 2025 18:15:48 +0000 (18:15 +0000)] 
patch 9.1.1786: Compile error with clipboard

Problem:  Compile error with clipboard
          (lacyggoill, after v9.1.1784)
Solution: Add $WAYLAND_SRC as dependency for clipboard.c in Makefile
          (Foxe Chen)

closes: #18375

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(netrw): 'equalalways' is not always respected
Christian Brabandt [Tue, 23 Sep 2025 18:13:28 +0000 (18:13 +0000)] 
runtime(netrw): 'equalalways' is not always respected

fixes: #18358

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1785: typo in comment in change.c v9.1.1785
Christ van Willegen [Mon, 22 Sep 2025 20:16:32 +0000 (20:16 +0000)] 
patch 9.1.1785: typo in comment in change.c

Problem:  typo in comment in change.c (after v9.1.1782)
Solution: Fix typo in comment in change.c (Christ van Willegen).

Signed-off-by: Christ van Willegen <cvwillegen@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>