]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
13 days agoruntime(tutor): Improve style for chapter 2
Victorhck [Fri, 21 Nov 2025 18:46:27 +0000 (18:46 +0000)] 
runtime(tutor): Improve style for chapter 2

closes: #18786

Signed-off-by: Victorhck <victorhck@mailbox.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(tutor): Add Spanish translation for chapter 2
Victorhck [Fri, 21 Nov 2025 18:45:21 +0000 (18:45 +0000)] 
runtime(tutor): Add Spanish translation for chapter 2

related: #18786

Signed-off-by: Victorhck <victorhck@mailbox.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(tutor): Improve Spanish translation of chapter 1
Victorhck [Fri, 21 Nov 2025 18:43:43 +0000 (18:43 +0000)] 
runtime(tutor): Improve Spanish translation of chapter 1

related: #18786

Signed-off-by: Victorhck <victorhck@mailbox.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(haskell): Add syntax test
Doug Kearns [Fri, 21 Nov 2025 18:22:37 +0000 (18:22 +0000)] 
runtime(haskell): Add syntax test

Add a test for issue #18776 (allow spaces in backticked operators).

closes: #18783

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(vim): Update base syntax, match full :history command
Doug Kearns [Fri, 21 Nov 2025 18:18:51 +0000 (18:18 +0000)] 
runtime(vim): Update base syntax, match full :history command

closes: #18784

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoCI: Fix triage labelling of maintainer runtime files
Doug Kearns [Fri, 21 Nov 2025 18:16:15 +0000 (18:16 +0000)] 
CI: Fix triage labelling of maintainer runtime files

A directory name alone does not generate matches for its contents.

closes: #18785

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.1924: 'commentstring' requires +folding feature v9.1.1924
Doug Kearns [Thu, 20 Nov 2025 21:16:48 +0000 (21:16 +0000)] 
patch 9.1.1924: 'commentstring' requires +folding feature

Problem:  'commentstring' requires the +folding feature but is used in
  contexts other than folding.
Solution: Remove the +folding feature guards from 'commentstring' and
          make it available in all builds (Doug Kearns).

closes: #18731

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.1923: wrong error when assigning to read-only register v9.1.1923
Doug Kearns [Thu, 20 Nov 2025 20:59:10 +0000 (20:59 +0000)] 
patch 9.1.1923: wrong error when assigning to read-only register

Problem:  When assigning to @. in a :let command an incorrect "E15"
          error is emitted.
Solution: Emit the correct "E354" error. (Doug Kearns).

An incorrect "E488" error was also emitted in Vim9 script assignments.

It appears that the code deleted in this commit was added to work around
a limitation in the returned value from find_name_end() that no longer
exists.

See commit 76b92b2830841fd4e05006cc3cad1d8f0bc8101b (tag: v7.0b).

closes: #18757

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(vim): Update base syntax, match :debug and :break* commands
Doug Kearns [Thu, 20 Nov 2025 20:57:15 +0000 (20:57 +0000)] 
runtime(vim): Update base syntax, match :debug and :break* commands

Match full :debug, :breakadd, :breakdel and :breaklist commands.

closes: #18748

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(compiler): set errorformat where missing
Konfekt [Thu, 20 Nov 2025 20:54:31 +0000 (20:54 +0000)] 
runtime(compiler): set errorformat where missing

As a matter of caution it sets it to the default gcc errorformat:

```
errorformat=%*[^"]"%f"%*\D%l: %m,"%f"%*\D%l: %m,%-Gg%\?make[%*\d]: *** [%f:%l:%m,%-Gg%\?make: *** [%f:%l:%m,%-G%f:%l: (Each undeclared identifier is reported only once,%-G%f:%l: for each function it appears in.),%-GIn file included from %f:%l:%c:,%-GIn file included from %f:%l:%c\,,%-GIn file included from %f:%l:%c,%-GIn file included from %f:%l,%-G%*[ ]from %f:%l:%c,%-G%*[ ]from %f:%l:,%-G%*[ ]from %f:%l\,,%-G%*[ ]from %f:%l,%f:%l:%c:%m,%f(%l):%m,%f:%l:%m,"%f"\, line %l%*\D%c%*[^ ] %m,%D%*\a[%*\d]: Entering directory %*[`']%f',%X%*\a[%*\d]: Leaving directory %*[`']%f',%D%*\a: Entering directory %*[`']%f',%X%*\a: Leaving directory %*[`']%f',%DMaking %*\a in %f,%f|%l| %m
```

so that the compiler keeps working after switching to others.

While likely only a subset is needed; such a subset has been proposed in
a commented errorformat;

checked to work for yamllint but ran out of steam for other compilers;

closes: #18754

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(php): Update indent script to 1.76 (from 1.75)
John Wellesz [Thu, 20 Nov 2025 20:50:54 +0000 (20:50 +0000)] 
runtime(php): Update indent script to 1.76 (from 1.75)

fixes: #18739 (editor hang on mixed syntax style)
closes: #18758

Signed-off-by: John Wellesz <john.wellesz@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(haskell): allow spaces in backticked operators in syntax script
Mirek Kratochvil [Thu, 20 Nov 2025 20:47:01 +0000 (20:47 +0000)] 
runtime(haskell): allow spaces in backticked operators in syntax script

This formatting (although rare) is actually accepted by GHC, but vim
does not highlight it. This patch adds the simplest possible regex to
support the behavior.

Inconveniently, this might trigger weird formatting on lines that
contain errors, e.g. if the first backtick is removed from:

    a `b` c `d` e

then `c` is going to be marked as an operator, which seems weird but is
valid.

closes: #18776

Signed-off-by: Mirek Kratochvil <exa.exa@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1922: Wrong virtcol('$') with virtual text at EOL v9.1.1922
zeertzjq [Thu, 20 Nov 2025 20:35:12 +0000 (20:35 +0000)] 
patch 9.1.1922: Wrong virtcol('$') with virtual text at EOL

Problem:  Wrong virtcol('$') with virtual text at EOL (rickhowe).
Solution: Also add 1 to end virtcol when there is virtual text.
          (zeertzjq)

fixes: #18761
closes: #18762

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1921: xdiff: included xdiff code is outdated v9.1.1921
Yee Cheng Chin [Thu, 20 Nov 2025 20:12:55 +0000 (20:12 +0000)] 
patch 9.1.1921: xdiff: included xdiff code is outdated

Problem:  xdiff: included xdiff code is outdated because it is based on
          git 2.40.0
Solution: Sync with xdiff from git 2.52 (Yee Cheng Chin).

Git [v2.52](https://github.com/git/git/releases/tag/v2.52.0) has just been
released. Merge from upstream to get the latest version of xdiff. Vim's xdiff
was last updated in #12181 (Patch v9.0.1418) from Git v2.33 to v2.40.

I have refined the strategy for merging from upstream a bit compared to last
time. I use the following commands to create an orphaned branch that extracts
the before/after xdiff source code from the Git codebase, and then perform a
subtree merge. The commits in the orphaned branch are reproducible
deterministically so a reviewer can reproduce the steps and it should result in
identical commit hashes (63264f229d and d741f0e230). The commands are as
follows (you could run in a separate Vim repo to keep things clean):

```bash
git remote add --no-tags git https://github.com/git/git.git
git fetch git

git switch --orphan xdiff-orig
git read-tree --reset -u 73876f4861:xdiff/  # Git v2.40.0
git rm -f xmerge.c                          # Vim doesn't use xmerge
(GIT_COMMITTER_NAME="dummy" GIT_COMMITTER_EMAIL="dummy" GIT_COMMITTER_DATE="1600000000 +0000" \
  git commit --no-gpg-sign --reuse-message=73876f4861)

git switch -c xdiff-new
git read-tree --reset -u 9a2fb147f2:xdiff/  # Git v2.52.0
git rm -f xmerge.c
(GIT_COMMITTER_NAME="dummy" GIT_COMMITTER_EMAIL="dummy" GIT_COMMITTER_DATE="1600000000 +0000" \
  git commit --no-gpg-sign --reuse-message=9a2fb147f2)

git switch master
git switch -c xdiff-upstream-v2.52.0
git merge -s ours --no-edit --allow-unrelated-histories xdiff-orig
git merge -Xsubtree=xdiff xdiff-new
```

The commit graph looks like so:

```
a005e268bd 2025-11-17 17:11:26 Yee Cheng Chin (HEAD -> xdiff-upstream-v2.52.0) Update xdiff README
*   d353c6f2c8 2025-11-17 16:26:15 Yee Cheng Chin Merge branch 'xdiff-new' into xdiff-upstream-v2.52.0
|\
| * d741f0e230 2025-11-17 07:35:33 Junio C Hamano (xdiff-new) Git 2.52
* | c4f8b15dd9 2025-11-17 16:22:30 Yee Cheng Chin Merge branch 'xdiff-orig' into xdiff-upstream-v2.52.0
|\|
| * 63264f229d 2023-03-12 14:34:41 Junio C Hamano (xdiff-orig) Git 2.40
6437997d83 2025-11-16 18:30:42 Girish Palya   (tag: v9.1.1918, origin/master, origin/HEAD, master) patch 9.1.1918: completion: crash with fuzzy completion
```

For reviewing I recommend using the following commands which simplifies the diff to only what we care about:
- `git show --remerge-diff d353c6f2c8`: This shows how my merge actually
  resolved the merge conflicts.
- `vimdiff <(git diff-tree -U0 63264f229d master:src/xdiff/) \
   <(git diff-tree -U0 d741f0e230 xdiff-upstream-v2.52.0:src/xdiff) \
   -c "silent windo %s/^index.*/index/" \
   -c "silent windo %s/^@@ [-+, 0-9]* @@/@@/"`:
This shows how the patch (downstream changes done in Vim on top of Git) has
changed. Note that some local changes for fixing compiler warnings are now gone
because they are fixed upstream.

- https://github.com/git/git/commit/d39e28e68c2b1bba25c5b1213fded95e525db15e
  added a dependency (`signed_add_overflows`) to Git code base. I replaced it
  with a custom one since it's not hard to implement.
- Upstream had fixed a lot of compiler warnings with signed/unsigned integers,
  so the compiler warning fixes that were done in Vim downstream were removed.
- Replace new `BUG()` calls with `xdl_bug()` where we use Vim's assertion
  mechanisms instead.

- Performance improvement due to optimizations in the line hashing function
  (https://github.com/git/git/commit/41d97837ab1e5a35fdcfd7f6af9b5d56af62e92a and
   https://github.com/git/git/commit/a4bbe8af0b48f9c80ccc2c4619309c4a81c1460a).
  - From personal unscientific testing (Apple M1 Max, macOS 15), when using the
    new xdiff, for simple/normal diff's this could result in **11%/29%** overall
    diff speed improvement. For larger more pathologically complicated diff this
    results in a more modest **4%/7%** improvement.
  - The two improvement numbers above are for compiling Vim with `-O3 -flto` vs
    `-O2`. The more optimized version of Vim results in lower performance
    improvement as it was already doing inlining via link-time-optimization
    before.
  - Just for reference, the command I used to test this was the following (use
    either test case and comment out the other one):
    ```bash
    # Simple/normal diff test case
    (COMMIT=0d9160e11ce; git show ${COMMIT}:src/diff.c > test1.txt; git show ${COMMIT}~:src/diff.c > test2.txt)
    # Larger diff test case
    (COMMIT=9670f61d468; git show ${COMMIT}:src/auto/configure > test1.txt; git show ${COMMIT}~:src/auto/configure > test2.txt)

    # Build Vim with old/new xdiff, then copy ./src/vim to ./src/vim_orig / ./src/vim_new respectively.
    hyperfine --warmup 4 --runs 20 -L vimcmd vim_orig,vim_new \
        "./src/{vimcmd} -u NONE -U NONE -es -V1 -c \"let g:f1=readfile('test1.txt')\" -c \"let g:f2=readfile('test2.txt')\" -c \"for i in range(1,200) | call diff(g:f1, g:f2) | endfor\" -c 'q'"
    ```

closes: #18765

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1920: tests: not enough testing for wildtrigger() pum redrawing v9.1.1920
zeertzjq [Thu, 20 Nov 2025 19:52:18 +0000 (19:52 +0000)] 
patch 9.1.1920: tests: not enough testing for wildtrigger() pum redrawing

Problem:  tests: not enough testing for wildtrigger() pum redrawing.
Solution: Also test redrawing when leaving cmdline mode (zeertzjq).

closes: #18773

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoCI: Switch to macOS 26 runner
Philip H. [Thu, 20 Nov 2025 19:50:00 +0000 (19:50 +0000)] 
CI: Switch to macOS 26 runner

closes: #18775

Signed-off-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(c): Update signal constants in syntax script
Harry [Tue, 18 Nov 2025 20:50:39 +0000 (20:50 +0000)] 
runtime(c): Update signal constants in syntax script

closes: #18763

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Harry <166658338+harrystevens4@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1919: tabpanel: cannot handle mouse clicks in command line v9.1.1919
Hirohito Higashi [Tue, 18 Nov 2025 20:10:14 +0000 (20:10 +0000)] 
patch 9.1.1919: tabpanel: cannot handle mouse clicks in command line

Problem:  tabpanel: cannot handle mouse clicks in command line
          (char101, after v9.1.1898)
Solution: Update the condition that checks if the mouse pointer is on
          the command line (Hirohito Higashi)

closes: #18771

Co-authored-by: Charles <char101@ui.ac.id>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(netrw): Use proper UNC notation for temp files
Miguel Barro [Tue, 18 Nov 2025 20:06:06 +0000 (20:06 +0000)] 
runtime(netrw): Use proper UNC notation for temp files

closes: #18764

Signed-off-by: Guybrush <miguel.barro@live.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(compiler): expand errorformats in maven compiler
Konfekt [Tue, 18 Nov 2025 19:49:01 +0000 (19:49 +0000)] 
runtime(compiler): expand errorformats in maven compiler

matches malformed POM error messages and tries to catch other tools
as well.

closes: #18768

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): Remove :runtime completion (#11447) todo item
Doug Kearns [Tue, 18 Nov 2025 19:44:16 +0000 (19:44 +0000)] 
runtime(doc): Remove :runtime completion (#11447) todo item

This was fixed in commit a6759381a590b2d395e05b109ca9ccfc356be5a8.

closes: #18769

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1918: completion: crash with fuzzy completion v9.1.1918
Girish Palya [Sun, 16 Nov 2025 18:30:42 +0000 (18:30 +0000)] 
patch 9.1.1918: completion: crash with fuzzy completion

Problem:  completion: crash with fuzzy completion
          (Christian Brabandt)
Solution: When completion candidates are gathered from a different
          window, and when completing `<c-p>`, linked list should be
          sorted only after all items are collected (Girish Palya).

fixes: #18752
closes: #18756

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agotranslation(it): Update Italian translation
Antonio Giovanni Colombo [Sun, 16 Nov 2025 17:31:43 +0000 (17:31 +0000)] 
translation(it): Update Italian translation

Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1917: Vim9: incorrect type inference with mkdir() v9.1.1917
Yegappan Lakshmanan [Sat, 15 Nov 2025 17:41:28 +0000 (17:41 +0000)] 
patch 9.1.1917: Vim9: incorrect type inference with mkdir()

Problem:  Vim9: incorrect type inference with mkdir()
          (dezza)
Solution: Before compiling a RHS expression in an assignment, save the
          new local variable contents (Yegappan Lakshmanan)

fixes: #18751
closes: #18751

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1916: WinEnter autocommand confuses Vim when closing tabpage v9.1.1916
Christian Brabandt [Sat, 15 Nov 2025 17:30:58 +0000 (17:30 +0000)] 
patch 9.1.1916: WinEnter autocommand confuses Vim when closing tabpage

Problem:  WinEnter autocommand may confuse Vim when closing tabpage
          (hokorobi)
Solution: Verify that curwin did not change in close_others()

fixes: #18722
closes: #18733

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(compiler): Remove version check in rustc compiler
Konfekt [Sat, 15 Nov 2025 17:18:41 +0000 (17:18 +0000)] 
runtime(compiler): Remove version check in rustc compiler

closes: #18347

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(compiler): add biome linter
Konfekt [Sat, 15 Nov 2025 10:38:35 +0000 (10:38 +0000)] 
runtime(compiler): add biome linter

closes: #18685

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(vim): Update base syntax and generator, match :cd commands
Doug Kearns [Sat, 15 Nov 2025 10:17:17 +0000 (10:17 +0000)] 
runtime(vim): Update base syntax and generator, match :cd commands

Match :cd commands explicitly.

fixes: #17964
closes: #18736

Reported by Maxim Kim.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1915: :breaklist accepts unprocessed arguments. v9.1.1915
Doug Kearns [Sat, 15 Nov 2025 10:13:25 +0000 (10:13 +0000)] 
patch 9.1.1915: :breaklist accepts unprocessed arguments.

Problem:  :breaklist accepts unprocessed arguments.
Solution: Remove EX_EXTRA flag from the Ex command definition.
          (Doug Kearns)

The command should emit an "E488: Trailing characters" error rather than
silently accept arguments.

closes: #18746

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(new-tutor): escape tutor filename
Andrey Starodubtsev [Thu, 13 Nov 2025 21:49:20 +0000 (21:49 +0000)] 
runtime(new-tutor): escape tutor filename

If Vim is installed into the Windows "Program Files" directory the tutor
path name contains spaces and must therefore be quoted before passing to
:drop.

closes: #18742

Signed-off-by: Andrey Starodubtsev <andrey.starodubtsev@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1914: runtime(netrw): wipes unnamed buffers v9.1.1914
Christian Brabandt [Thu, 13 Nov 2025 21:11:51 +0000 (21:11 +0000)] 
patch 9.1.1914: runtime(netrw): wipes unnamed buffers

Problem:  runtime(netrw): LocalBrowseCheck() wipes unnamed buffers when
          g:netrw_fastbrowse=0 (Carlos Falgueras García)
Solution: Check that bufname() is not empty

fixes: #18740
closes: #18741

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1913: Error message with :unlet! and non-existing dictionary item v9.1.1913
Christian Brabandt [Thu, 13 Nov 2025 21:06:43 +0000 (21:06 +0000)] 
patch 9.1.1913: Error message with :unlet! and non-existing dictionary item

Problem:  Error message with :unlet! and non-existing dictionary item
          (Coacher)
Solution: Set GLV_QUIET when using unlet with bang attribute

fixes: #18516
closes: #18734

Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): Wrap overlength lines in uganda.txt
Doug Kearns [Thu, 13 Nov 2025 21:01:42 +0000 (21:01 +0000)] 
runtime(doc): Wrap overlength lines in uganda.txt

Wrap overlength lines and normalise URL indentation.

closes: #18737

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(help): Update syntax, match tables at :help :digraph-table
Doug Kearns [Thu, 13 Nov 2025 20:59:44 +0000 (20:59 +0000)] 
runtime(help): Update syntax, match tables at :help :digraph-table

Match the digraph tables to avoid false positive matches for helpSpecial
etc.  No syntax groups should match in these tables.

closes: #18738

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1912: tests: test_plugin_comment fails v9.1.1912
Christian Brabandt [Wed, 12 Nov 2025 21:33:38 +0000 (21:33 +0000)] 
patch 9.1.1912: tests: test_plugin_comment fails

Problem:  tests: test_plugin_comment fails, because it depends on nroff
          filetype for .mom file (after v9.1.1909)
Solution: Explicitly set filetype to nroff

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1911: build failure on Solaris with gcc 5 v9.1.1911
Christian Brabandt [Wed, 12 Nov 2025 20:04:18 +0000 (20:04 +0000)] 
patch 9.1.1911: build failure on Solaris with gcc 5

Problem:  build failure on Solaris Sparc with gcc 5
          (idgn23, after v9.1.1736)
Solution: Correctly initialize the key_name variable.

fixes: #18693

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1910: tests: test failures in Test_term_gettitle() in CI v9.1.1910
Aliaksei Budavei [Wed, 12 Nov 2025 19:49:00 +0000 (19:49 +0000)] 
patch 9.1.1910: tests: test failures in Test_term_gettitle() in CI

Problem:  tests: test failures in Test_term_gettitle() in CI
Solution: CI: Allow for title buffering in Test_term_gettitle()
          (Aliaksei Budavei)

closes: #18693

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1909: filetype: .mom files recognized as nroff files v9.1.1909
Callum Andrew [Wed, 12 Nov 2025 19:43:28 +0000 (19:43 +0000)] 
patch 9.1.1909: filetype: .mom files recognized as nroff files

Problem:  filetype: .mom files recognized as nroff files
Solution: Detect *.mom files as groff filetype instead
          (Callum Andrew)

Reference:
- mom macros are written specifically for groff:
  https://www.schaffter.ca/mom/

closes: #18718

Signed-off-by: Callum Andrew <dev@candrew.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(erlang): recognize -if/-elif as erlangPreCondit in syntax script
Vadim Yanitskiy [Wed, 12 Nov 2025 19:36:46 +0000 (19:36 +0000)] 
runtime(erlang): recognize -if/-elif as erlangPreCondit in syntax script

The -if(Condition)/-elif(Condition) are compiler macros that evaluate
the following lines only if Condition evaluates to true.  This patch
enables syntax highlighting for these macros.

https://www.erlang.org/doc/system/macros.html#conditional-compilation

closes: #18729

Signed-off-by: Vadim Yanitskiy <fixeria@osmocom.org>
Signed-off-by: Csaba Hoch <csaba.hoch@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Improve :help :ls description formatting
Doug Kearns [Wed, 12 Nov 2025 19:33:01 +0000 (19:33 +0000)] 
runtime(doc): Improve :help :ls description formatting

Quote the special buffer names for consistency (see :help bufname()) and
so that they're not incorrectly highlighted as optional command
arguments.

closes: #18730

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, match :prompt command args
Doug Kearns [Wed, 12 Nov 2025 19:17:11 +0000 (19:17 +0000)] 
runtime(vim): Update base syntax, match :prompt command args

closes: #18732

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1908: tests: test_crash.vim times out in CI ASAN builds v9.1.1908
Christian Brabandt [Tue, 11 Nov 2025 18:06:31 +0000 (18:06 +0000)] 
patch 9.1.1908: tests: test_crash.vim times out in CI ASAN builds

Problem:  tests: test_crash.vim times out in CI ASAN builds
Solution: Increase timeout for ASAN or Valgrind runs

closes: #18725

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(css): improve cssBoxProp matches
Neil Lambert [Tue, 11 Nov 2025 18:01:31 +0000 (18:01 +0000)] 
runtime(css): improve cssBoxProp matches

closes: #18717

Signed-off-by: Neil Lambert <nlambert@pm.me>
Signed-off-by: Jay Sitter <jsit@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1907: xterm: no support for mouse buttons 8 and 9 v9.1.1907
notuxic [Tue, 11 Nov 2025 17:52:45 +0000 (17:52 +0000)] 
patch 9.1.1907: xterm: no support for mouse buttons 8 and 9

Problem:  xterm: no support for mouse buttons 8 and 9
Solution: Add support for terminals with xterm-like mouse functionality
          (notuxic)

closes: #18719

Signed-off-by: notuxic <notuxic@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1906: filetype: not all Ruby files are recognized v9.1.1906
botantony [Tue, 11 Nov 2025 17:26:02 +0000 (17:26 +0000)] 
patch 9.1.1906: filetype: not all Ruby files are recognized

Problem:  filetype: not all Ruby files are recognized
Solution: Detect *.rbi and Brewfile as ruby filetype
          (botantony).

- `rbi` is a file extension used by Sorbet, typechecker for Ruby:
   https://sorbet.org/docs/rbi

- `Brewfile` is a bundler file for Homebrew package manager:
   https://docs.brew.sh/Brew-Bundle-and-Brewfile

closes: #18697

Signed-off-by: botantony <antonsm21@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1905: tabpanel: truncates terminal output v9.1.1905
Hirohito Higashi [Tue, 11 Nov 2025 17:20:13 +0000 (17:20 +0000)] 
patch 9.1.1905: tabpanel: truncates terminal output

Problem:  tabpanel: truncates terminal output
          (hokorobi)
Solution: Use topframe->fr_width, not Columns (which includes the
          tabpanel width) (Hirohito Higashi)

related: #18678
closes: #18707

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(sqlcomplete): only set 'omnifunc' if dbext plugin was loaded
Christian Brabandt [Tue, 11 Nov 2025 17:13:44 +0000 (17:13 +0000)] 
runtime(sqlcomplete): only set 'omnifunc' if dbext plugin was loaded

fixes: #18716

Co-authored-by: gcanat <72149218+gcanat@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Wrap some overlength lines in vim9{,class}.txt.
Doug Kearns [Tue, 11 Nov 2025 16:47:24 +0000 (16:47 +0000)] 
runtime(doc): Wrap some overlength lines in vim9{,class}.txt.

closes: #18724

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, refine object constructor matching
Doug Kearns [Tue, 11 Nov 2025 16:37:09 +0000 (16:37 +0000)] 
runtime(vim): Update base syntax, refine object constructor matching

Match "object" and "<" ... ">" separately with dedicated syntax groups
to allow for highlighting distinct from that generally used for types.

closes: #18721

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Update Section 4 of vim9.txt
Peter Kenny [Mon, 10 Nov 2025 20:29:08 +0000 (20:29 +0000)] 
runtime(doc): Update Section 4 of vim9.txt

closes: #18610

Signed-off-by: Peter Kenny <github.com@k1w1.cyou>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(sml): Fix number regex in syntax script
tocariimaa [Mon, 10 Nov 2025 20:13:35 +0000 (20:13 +0000)] 
runtime(sml): Fix number regex in syntax script

closes: #18690

Signed-off-by: tocariimaa <tocariimaa@pissmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1904: Code still supports GTK2 versions older than 2.4 v9.1.1904
Drew Vogel [Mon, 10 Nov 2025 20:04:37 +0000 (20:04 +0000)] 
patch 9.1.1904: Code still supports GTK2 versions older than 2.4

Problem:  Code still supports GTK2 versions older than 2.4.
Solution: Drop support for GTK2 < 2.4 (Drew Vogel)

closes: #18708

Signed-off-by: Drew Vogel <dvogel@github>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1903: GTK naming still reflects GTK1 support v9.1.1903
Drew Vogel [Mon, 10 Nov 2025 20:01:04 +0000 (20:01 +0000)] 
patch 9.1.1903: GTK naming still reflects GTK1 support

Problem:  GTK naming still reflects GTK1 support
Solution: Rename to avoid confusion (Drew Vogel)

related: #18708

Signed-off-by: Drew Vogel <dvogel@github>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1902: GTK fails to compile with !FEAT_PROP_POPUP v9.1.1902
Drew Vogel [Mon, 10 Nov 2025 19:58:31 +0000 (19:58 +0000)] 
patch 9.1.1902: GTK fails to compile with !FEAT_PROP_POPUP

Problem:  GTK fails to compile with !FEAT_PROP_POPUP
Solution: Correct syntax under #ifdef
          (Drew Vogel)

related: #18708

Signed-off-by: Drew Vogel <dvogel@github>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, fix :augroup error matching
Doug Kearns [Mon, 10 Nov 2025 19:50:57 +0000 (19:50 +0000)] 
runtime(vim): Update base syntax, fix :augroup error matching

Only terminate the :augroup END argument at whitespace, comments and
trailing bars.

closes: #18711

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Improve windows.txt formatting
Doug Kearns [Mon, 10 Nov 2025 19:45:32 +0000 (19:45 +0000)] 
runtime(doc): Improve windows.txt formatting

- Wrap some overlength lines
- Highlight the example at :help WinScrolled-event

closes: #18713

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1901: tests: test_vim9_generics fails without job feature v9.1.1901
Christian Brabandt [Sun, 9 Nov 2025 19:39:22 +0000 (19:39 +0000)] 
patch 9.1.1901: tests: test_vim9_generics fails without job feature

Problem:  tests: test_vim9_generics fails when built without the job or
          channel feature (lazypingu)
Solution: Skip test if job/channel feature is not available

fixes: #18702

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Clean up file header whitespace
Doug Kearns [Sun, 9 Nov 2025 19:23:50 +0000 (19:23 +0000)] 
runtime(doc): Clean up file header whitespace

- :retab! line 1 and line 4 (main page heading).
- Use four columns whitespace before "by [Author]" in the user manual
  heading to match the reference manual formatting.
- double space headings.

closes: #18648

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, match :*do command arg
Doug Kearns [Sun, 9 Nov 2025 18:59:52 +0000 (18:59 +0000)] 
runtime(vim): Update base syntax, match :*do command arg

Match the Ex command arg to all :*do commands.

closes: #18700

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(spec): Add support for more tags and distributions
Jesse Portnoy [Sun, 9 Nov 2025 18:57:34 +0000 (18:57 +0000)] 
runtime(spec): Add support for more tags and distributions

- specMacroIdentifier: support macros starting with '?'; the most common
  example is `%{?dist}`
- specPreAmble: added some missing tags from:
  https://rpm.org/docs/4.19.x/manual/spec.html
- Added support for: `fedora`, `rhel`, `rocky`, `rhl`, `centos`, `el\d`
  and `fc\d`, see https://docs.fedoraproject.org/en-US/packaging-guidelines/DistTag

closes: #18703

Signed-off-by: Jesse Portnoy <jesse.portnoy@perforce.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(vim): Update base syntax, match Vim9 object type constructor
Doug Kearns [Sat, 8 Nov 2025 17:23:47 +0000 (17:23 +0000)] 
runtime(vim): Update base syntax, match Vim9 object type constructor

fixes: #18677.
closes: #18691

Reported by Aliaksei Budavei.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1900: tabpanel: wrong condition after v9.1.1898 v9.1.1900
Hirohito Higashi [Sat, 8 Nov 2025 17:20:55 +0000 (17:20 +0000)] 
patch 9.1.1900: tabpanel: wrong condition after v9.1.1898

Problem:  tabpanel: wrong condition after v9.1.1898
Solution: Update condition (Hirohito Higashi)

related: #18678
closes: #18692

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Rewrite some overlength lines
Doug Kearns [Sat, 8 Nov 2025 17:19:34 +0000 (17:19 +0000)] 
runtime(doc): Rewrite some overlength lines

closes: #18695

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Wrap some overlength lines in the user manual
Doug Kearns [Sat, 8 Nov 2025 17:18:16 +0000 (17:18 +0000)] 
runtime(doc): Wrap some overlength lines in the user manual

closes: #18696

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Improve :help synconcealed() description
Doug Kearns [Sat, 8 Nov 2025 17:16:41 +0000 (17:16 +0000)] 
runtime(doc): Improve :help synconcealed() description

closes: #18698

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1899: tabpanel: getcmdscreenpos() wrong when tabpanel is shown v9.1.1899
Hirohito Higashi [Sat, 8 Nov 2025 17:12:57 +0000 (17:12 +0000)] 
patch 9.1.1899: tabpanel: getcmdscreenpos() wrong when tabpanel is shown

Problem:  tabpanel: getcmdscreenpos() wrong when tabpanel is shown
Solution: Adjust f_getcmdscreenpos() and add cmdline_col_off
          (Hirohito Higashi)

related: #18678
closes: #18699

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1898: tabpanel: inconsistent use of cmdline with tabpanel v9.1.1898
Hirohito Higashi [Thu, 6 Nov 2025 20:23:36 +0000 (20:23 +0000)] 
patch 9.1.1898: tabpanel: inconsistent use of cmdline with tabpanel

Problem:  tabpanel: inconsistent use of cmdline and message area with
          tabpanel
Solution: Reduce the cmdline and message area by the horizontal size of
          the tabpanel (Hirohito Higashi)

closes: #18678

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1897: Mac: Build failure on Mac OS X 10.6 v9.1.1897
Luke Lollard [Thu, 6 Nov 2025 20:04:38 +0000 (20:04 +0000)] 
patch 9.1.1897: Mac: Build failure on Mac OS X 10.6

Problem:  Mac: Build failure on Mac OS X 10.6 due to the use of generics
          for the sound feature.
Solution: Use the simple, non-generic Objective-C version.
          (Luke Lollard)

fixes: #17678
closes: #18681

Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Luke Lollard <haihige@protonmail.ch>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(compiler): do not override &l:makeprg on :compiler!
Konfekt [Thu, 6 Nov 2025 19:47:36 +0000 (19:47 +0000)] 
runtime(compiler): do not override &l:makeprg on :compiler!

closes: #18686

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(sml): add filetype plugin, move options from indent to ftplugin
tocariimaa [Wed, 5 Nov 2025 20:49:26 +0000 (20:49 +0000)] 
runtime(sml): add filetype plugin, move options from indent to ftplugin

closes: #18680

Signed-off-by: tocariimaa <tocariimaa@pissmail.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(vim): 'iskeyword' setting not correctly restored
Christian Brabandt [Tue, 4 Nov 2025 18:13:55 +0000 (18:13 +0000)] 
runtime(vim): 'iskeyword' setting not correctly restored

fixes: #18673

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1896: tests: patch v9.1.1895 breaks CI v9.1.1896
Christian Brabandt [Sun, 2 Nov 2025 15:24:42 +0000 (15:24 +0000)] 
patch 9.1.1896: tests: patch v9.1.1895 breaks CI

Problem:  tests: patch v9.1.1895 breaks CI, by failing screen dump tests
          test_listlbr_utf8, test_diffmode and test_cmdline
Solution: Revert it

Revert "patch 9.1.1895: OSC terminal response hard to detect"
This reverts commit 8707b7a15b8a22ee4f60e1f9e7d3d417b20e60d2.

related: #18660

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): clarify W11 warning and possible options
Christian Brabandt [Sat, 1 Nov 2025 17:04:43 +0000 (17:04 +0000)] 
runtime(doc): clarify W11 warning and possible options

fixes: #18589

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1895: OSC terminal response hard to detect v9.1.1895
Foxe Chen [Sat, 1 Nov 2025 16:26:18 +0000 (16:26 +0000)] 
patch 9.1.1895: OSC terminal response hard to detect

Problem:  OSC terminal response hard to detect
Solution: Add the <OSC> and <xOSC> pseudo keys
          (Foxe Chen)

closes: #18660

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1894: global_runtime_dir appends /after directory when using XDG v9.1.1894
Christian Brabandt [Sat, 1 Nov 2025 16:20:10 +0000 (16:20 +0000)] 
patch 9.1.1894: global_runtime_dir appends /after directory when using XDG

Problem:  global_runtime_dir appends /after directory when using XDG
          configuration directory (Marius Gedminas).
Solution: Do not append /after to RUNTIME_GLOBAL_AFTER.

closes: #18663
closes: #18665

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1893: ICCF charity will dissolve v9.1.1893
Christian Brabandt [Sat, 1 Nov 2025 16:15:39 +0000 (16:15 +0000)] 
patch 9.1.1893: ICCF charity will dissolve

Problem:  ICCF charity will dissolve
Solution: Update references to Kuwasha

Since the ICCF[1] will be dissolved and handing over to the Kuwasha charity
to continue supporting the Kibaale Children Center in Uganda, update the
uganda.txt help file.

[1]: https://groups.google.com/g/vim_announce/c/pUNbNXBLbKw/m/-zFUd4JjAQAJ

fixes: #18584
closes: #18667

Signed-off-by:
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1892: Not possible to know once Vim is done with sourcing vimrc v9.1.1892
Evgeni Chasnovski [Sat, 1 Nov 2025 15:54:35 +0000 (15:54 +0000)] 
patch 9.1.1892: Not possible to know once Vim is done with sourcing vimrc

Problem:   A plugin does not know when startup scripts were already
           triggered. This is useful to determine if a function is
           called inside vimrc or after (like when sourcing 'plugin/'
           files).
Solution:  Add the v:vim_did_init variable (Evgeni Chasnovski)

closes: #18668

Signed-off-by: Evgeni Chasnovski <evgeni.chasnovski@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(netrw): NetrwChgPerm for files not in cwd
Mohammad Reza Karimi [Sat, 1 Nov 2025 15:46:04 +0000 (15:46 +0000)] 
runtime(netrw): NetrwChgPerm for files not in cwd

Problem:  Changing permissions fail when using `gp` if the file under
          the cursor is not in the current working directory.
Solution: Use the already available `a:curdir` argument and prepend it
          to the `<cfile>`, so that the path of the file is correct.

This commit also refactors some leftover `netrw#ErrorMsg` to
`netrw#msg#Notify` (the main refactoring was done in
f5e3b5c04f85b0f69cd2aae81e4938cfb191a790).

closes: #18674

Signed-off-by: Mohammad Reza Karimi <m.r.karimi.j@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(log): syntax file update
Mao-Yining [Sat, 1 Nov 2025 15:42:32 +0000 (15:42 +0000)] 
runtime(log): syntax file update

closes: #18675

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): Fix a few typos
Hirohito Higashi [Sat, 1 Nov 2025 15:24:12 +0000 (15:24 +0000)] 
runtime(doc): Fix a few typos

closes: #18676

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1891: g<End> does not move to last non-blank in visual mode v9.1.1891
varsidry [Fri, 31 Oct 2025 16:16:11 +0000 (16:16 +0000)] 
patch 9.1.1891: g<End> does not move to last non-blank in visual mode

Problem:  In visual mode, g<End> does not move to the last non-blank
          character when the end of a line is on the same line as the
          cursor (after v9.0.1753)
Solution: Move the cursor back by one position if it lands after the
          line (varsidry)

fixes: #18657
closes: #18658

Signed-off-by: varsidry <240319857+varsidry@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation: regenerate po/vim.pot after 73a0de4a04b48cca
Christian Brabandt [Fri, 31 Oct 2025 09:16:19 +0000 (09:16 +0000)] 
translation: regenerate po/vim.pot after 73a0de4a04b48cca

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1890: %P in 'statusline' doesn't behave as documented v9.1.1890
zeertzjq [Fri, 31 Oct 2025 09:10:05 +0000 (09:10 +0000)] 
patch 9.1.1890: %P in 'statusline' doesn't behave as documented

Problem:  %P in 'statusline' doesn't behave as documented
          (after 9.1.1479).
Solution: Make the percentage 3-chars wide when not translated.
          (zeertzjq)

fixes: #18669
closes: #18671

Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1889: filetype: not all AppleScript files are recognized v9.1.1889
Samuel Huang [Fri, 31 Oct 2025 09:03:04 +0000 (09:03 +0000)] 
patch 9.1.1889: filetype: not all AppleScript files are recognized

Problem:  filetype: not all AppleScript files are recognized
Solution: Detect *.applescript files as applescript filetype
          (Samuel Huang)

Reference:
https://en.wikipedia.org/wiki/AppleScript

closes: #18672

Signed-off-by: Samuel Huang <hi@sgh.ng>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoDrop superfluous execute permissions for readable files
Aliaksei Budavei [Thu, 30 Oct 2025 19:05:03 +0000 (19:05 +0000)] 
Drop superfluous execute permissions for readable files

- runtime/ftplugin/plsql.vim (42e498)
- runtime/pack/dist/opt/editorconfig/LICENSE.PSF (e5e043)
- src/po/check.vim (96dab9)
- src/po/it.po (bb0d3b)

closes: #18666

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime: regenerate helptags, update last-change header in tombi compiler
Christian Brabandt [Wed, 29 Oct 2025 20:20:10 +0000 (20:20 +0000)] 
runtime: regenerate helptags, update last-change header in tombi compiler

Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agopatch 9.1.1888: Wrong display with cpo+=$, matchparen and wrapped line v9.1.1888
zeertzjq [Wed, 29 Oct 2025 20:15:01 +0000 (20:15 +0000)] 
patch 9.1.1888: Wrong display with cpo+=$, matchparen and wrapped line

Problem:  Wrong display with cpo+=$, matchparen and wrapped line.
Solution: Use old cursor line height when scrolling with cpo+=$. Also
          fix wrong redraw in non-current window. (zeertzjq)

fixes: #18647
closes: #18662

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime(compiler): Fix escaping in Windows shell command for tombi
Konfekt [Wed, 29 Oct 2025 20:11:57 +0000 (20:11 +0000)] 
runtime(compiler): Fix escaping in Windows shell command for tombi

As observed by Doug Kearns

related: #18590
closes: #18661

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agopatch 9.1.1887: string handling in strings.c can be improved v9.1.1887
John Marriott [Tue, 28 Oct 2025 20:56:47 +0000 (20:56 +0000)] 
patch 9.1.1887: string handling in strings.c can be improved

Problem:  string handling in strings.c can be improved
Solution: Refactor strings.c and remove calls to STRLEN()
          (John Marriott)

This change does:
- In vim_strsave_shellescape() a small cosmetic change.
- In string_count() move the call to STRLEN() outside the while loop.
- In blob_from_string() refactor to remove call to STRLEN().
- In string_from_blob() call vim_strnsave() instead of vim_strsave().
- In vim_snprintf_safelen() call vim_vsnprintf_typval() directly instead
  of vim_vsnprintf() which then calls vim_vsnprintf_typval().
- In copy_first_char_to_tv() change to return -1 on failure or the length
  of resulting v_string. Change string_filter_map() and string_reduce() to
  use the return value of copy_first_char_to_tv().

closes: #18617

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime(compiler): Fix invalid expression in tombi compiler after d659fafcc
Christian Brabandt [Tue, 28 Oct 2025 20:50:44 +0000 (20:50 +0000)] 
runtime(compiler): Fix invalid expression in tombi compiler after d659fafcc

related: #18590

Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime(compiler): add tombi compiler to lint TOML files
Konfekt [Tue, 28 Oct 2025 20:42:17 +0000 (20:42 +0000)] 
runtime(compiler): add tombi compiler to lint TOML files

closes: #18590

Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime(vim): Update base syntax, match Vim9 lambda arg to :defer
Doug Kearns [Tue, 28 Oct 2025 20:36:04 +0000 (20:36 +0000)] 
runtime(vim): Update base syntax, match Vim9 lambda arg to :defer

Support added in commit 21ef3c6e5972bbe8ab61195f98ccb85048b78985.

See: #18643
closes: #18645

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agopatch 9.1.1886: filetype: Android aconfig files are not recognized v9.1.1886
Bruno Belanyi [Tue, 28 Oct 2025 20:31:55 +0000 (20:31 +0000)] 
patch 9.1.1886: filetype: Android aconfig files are not recognized

Problem:  filetype: Android aconfig files are not recognized
Solution: Detect *.aconfig files as pbtxt filetype (Bruno Belanyi)

Reference:
https://source.android.com/docs/setup/build/feature-flagging/declare-flag

closes: #18656

Signed-off-by: Bruno Belanyi <bruno@belanyi.fr>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agopatch 9.1.1885: Wrong restored cursor pos when re-entering buffer after changes v9.1.1885
zeertzjq [Tue, 28 Oct 2025 20:27:19 +0000 (20:27 +0000)] 
patch 9.1.1885: Wrong restored cursor pos when re-entering buffer after changes

Problem:  Wrong restored cursor position when re-entering a buffer
          previously viewed in a window after making changes to the same
          buffer in another window.
Solution: Adjust per-window "last cursor" positions on buffer changes.
          (zeertzjq)

closes: #18655

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime(doc): Highlight [expr] arg in :help :return description
Doug Kearns [Tue, 28 Oct 2025 20:20:02 +0000 (20:20 +0000)] 
runtime(doc): Highlight [expr] arg in :help :return description

closes: #18654

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agopatch 9.1.1884: :defer an empty lambda causes a crash v9.1.1884
Yegappan Lakshmanan [Tue, 28 Oct 2025 20:05:13 +0000 (20:05 +0000)] 
patch 9.1.1884: :defer an empty lambda causes a crash

Problem:  :defer an empty lambda causes a crash
          (Maxim Kim, after v9.1.1882)
Solution: Check for missing arguments (Yegappan Lakshmanan)

related: #18641
closes: #18653

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime(doc): revert wrong 'incsearch' description
Christian Brabandt [Tue, 28 Oct 2025 19:47:26 +0000 (19:47 +0000)] 
runtime(doc): revert wrong 'incsearch' description

This reverts commit 3fc00c05fb464d3e806df53bdc1743faa337ddca.

related: #18639

Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agopatch 9.1.1883: Wrong display with 'smoothscroll' with -diff v9.1.1883
zeertzjq [Tue, 28 Oct 2025 19:03:22 +0000 (19:03 +0000)] 
patch 9.1.1883: Wrong display with 'smoothscroll' with -diff

Problem:  Wrong display with 'smoothscroll' when FEAT_DIFF is disabled.
Solution: Use plines_correct_topline() (zeertzjq).

closes: #18649

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agopatch 9.1.1882: Vim9: Not able to use a lambda with :defer v9.1.1882
Yegappan Lakshmanan [Mon, 27 Oct 2025 18:07:52 +0000 (18:07 +0000)] 
patch 9.1.1882: Vim9: Not able to use a lambda with :defer

Problem:  Vim9: Not able to use a lambda with :defer
          (Maxim Kim)
Solution: Add support for this (Yegappan Lakshmanan)

fixes: #18626
closes: #18643

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 weeks agoruntime(netrw): fix misaligned comment after #18611
zeertzjq [Mon, 27 Oct 2025 18:04:05 +0000 (18:04 +0000)] 
runtime(netrw): fix misaligned comment after #18611

related" #18611
closes: #18644

Signed-off-by: Christian Brabandt <cb@256bit.org>