]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
8 hours agopatch 9.1.1760: wrong proto file for insexpand.pro master v9.1.1760
Hirohito Higashi [Sun, 14 Sep 2025 18:19:19 +0000 (18:19 +0000)] 
patch 9.1.1760: wrong proto file for insexpand.pro

Problem:  wrong proto file for insexpand.pro
Solution: Update insexpand.pro (Hirohito Higashi).

closes: #18296

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 hours agopatch 9.1.1759: filetype: generic log detection is too disturbing v9.1.1759
Christian Brabandt [Sun, 14 Sep 2025 18:13:11 +0000 (18:13 +0000)] 
patch 9.1.1759: filetype: generic log detection is too disturbing

Problem:  filetype: generic log detection is too disturbing
          (after v9.1.1755)
Solution: Revert setting log filetype

Signed-off-by: Christian Brabandt <cb@256bit.org>
11 hours agoruntime(doc): Tweak documentation style more in options and ft_hare
Hirohito Higashi [Sun, 14 Sep 2025 15:05:46 +0000 (11:05 -0400)] 
runtime(doc): Tweak documentation style more in options and ft_hare

closes: 18289

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 hours agopatch 9.1.1758: Diff mode crashes when adding text property in autocommand v9.1.1758
zeertzjq [Sun, 14 Sep 2025 15:01:26 +0000 (11:01 -0400)] 
patch 9.1.1758: Diff mode crashes when adding text property in autocommand

Problem:  Diff mode crashes when adding text property in autocommand
          (after 9.1.1557).
Solution: Only restore ML_EMPTY memline flag, ignore the others
          (zeertzjq).

fixes: #18288
closes: #18291

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 hours agoruntime(config): mark unportable += as an error
Damien Lejay [Sun, 14 Sep 2025 14:54:33 +0000 (10:54 -0400)] 
runtime(config): mark unportable += as an error

closes: #18292

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 hours agoruntime(html): guard against an existing b:undo_ftplugin var
D. Ben Knoble [Sun, 14 Sep 2025 08:42:25 +0000 (04:42 -0400)] 
runtime(html): guard against an existing b:undo_ftplugin var

Filetype plugins should not assume they are the only file to execute on
behalf of a buffer's filetype: other filetypes may use them, and
dotted filetypes may cause multiple to run. When this occurs, they
should _build_ on their respective b:undo_ftplugin settings, not
overwrite each other.

For example, when using a dotted filetype wiki.markdown, the wiki
filetype plugins go first. Then, during the markdown filetype plugins,
the HTML plugin's unconditional assignment to b:undo_ftplugin trashes
any data previously stored there by the wiki filetype.

Follow the pattern elsewhere of assigning or appending conditionally.

closes: #18267

Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 hours agopatch 9.1.1757: The colorresp plugin causes additional redraws v9.1.1757
Foxe Chen [Sun, 14 Sep 2025 08:38:33 +0000 (04:38 -0400)] 
patch 9.1.1757: The colorresp plugin causes additional redraws

Problem:  The colorresp plugin causes additional redraws
          (Linwei, after v9.1.1703)
Solution: Move the code back into the C core and get rid of the vim
          plugin (Foxe Chen)

fixes: #18251
closes: #18279

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 hours agopatch 9.1.1756: termdebug: Need a few more user commands v9.1.1756
bennyyip [Sun, 14 Sep 2025 08:33:07 +0000 (04:33 -0400)] 
patch 9.1.1756: termdebug: Need a few more user commands

Problem:  termdebug: Need a few more user commands
Solution: Add the :RunOrContinue and the :ToggleBreak user commands
          (bennyyip)

closes: #18283

Signed-off-by: bennyyip <yebenmy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 hours agoruntime(doc): update Markdown syntax documentation and mention Pandoc
Mao-Yining [Sun, 14 Sep 2025 08:28:23 +0000 (04:28 -0400)] 
runtime(doc): update Markdown syntax documentation and mention Pandoc

fixes: #18286

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
18 hours agoruntime(doc): tweak documentation style a bit more in options.txt
zeertzjq [Sun, 14 Sep 2025 08:12:12 +0000 (04:12 -0400)] 
runtime(doc): tweak documentation style a bit more in options.txt

related: #18284

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
19 hours agopatch 9.1.1755: filetype: generic log files are not recognized v9.1.1755
Mao-Yining [Sun, 14 Sep 2025 07:59:34 +0000 (03:59 -0400)] 
patch 9.1.1755: filetype: generic log files are not recognized

Problem:  filetype: generic log files are not recognized
Solution: Detect *.log files as log filetype, include simple log syntax
          script (Mao-Yining).

closes: #18285

Co-authored-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
36 hours agoruntime(doc): tweak documentation style
Hirohito Higashi [Sat, 13 Sep 2025 14:52:36 +0000 (10:52 -0400)] 
runtime(doc): tweak documentation style

closes: #18284

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 days agoruntime(doc): Add :defe[r] shortname spec and tag
Doug Kearns [Fri, 12 Sep 2025 14:45:34 +0000 (10:45 -0400)] 
runtime(doc): Add :defe[r] shortname spec and tag

closes: #18281

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agopatch 9.1.1754: :helptags doesn't skip examples with syntax v9.1.1754
zeertzjq [Thu, 11 Sep 2025 19:21:52 +0000 (15:21 -0400)] 
patch 9.1.1754: :helptags doesn't skip examples with syntax

Problem:  :helptags doesn't skip examples with syntax
          (Evgeni Chasnovski)
Solution: Check for examples with syntax (zeertzjq).

fixes: #18273
closes: #18277

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agoruntime(doc): improve 'complete' option description
Girish Palya [Thu, 11 Sep 2025 19:19:22 +0000 (15:19 -0400)] 
runtime(doc): improve 'complete' option description

Add minimal reference to LSP. It might help new users.

closes: #18276

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agoruntime(netrw): only keep cursor position in tree listing mode
Tom Benham [Thu, 11 Sep 2025 19:15:43 +0000 (15:15 -0400)] 
runtime(netrw): only keep cursor position in tree listing mode

fixes: #16255
closes: #18275

Signed-off-by: Tom Benham <tom.benham13@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agoruntime(doc): use a single pattern in :h 'incsearch' example
zeertzjq [Thu, 11 Sep 2025 19:08:57 +0000 (15:08 -0400)] 
runtime(doc): use a single pattern in :h 'incsearch' example

related: https://github.com/vim/vim/pull/18262#issuecomment-3277008408
closes: #18270

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agopatch 9.1.1753: defaults: 'diffopt' option value can be improved v9.1.1753
Yee Cheng Chin [Thu, 11 Sep 2025 19:02:21 +0000 (15:02 -0400)] 
patch 9.1.1753: defaults: 'diffopt' option value can be improved

Problem:  defaults: 'diffopt' option value can be improved
Solution: Update diffopt defaults to include "indent-heuristic" and
          "inline:char" (Yee Cheng Chin)

The default diff options have not been updated much despite new
functionality having been added to Vim.

- indent-heurstic: This has been enabled by default in Git since
  33de716387 in 2017. Given that Vim uses xdiff from Git, it makes sense
  to track the default configuration from Git.

- inline:char: This turns on character-wise inline highlighting which is
  generally much better than the default inline:simple. It has been
  implemented since #16881 and we have not seen reports of any issues
  with it, and it has received good feedbacks.

closes: #18255

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agoruntime(vim): Update indent script for line continuation with lambda
Maxim Kim [Thu, 11 Sep 2025 18:25:09 +0000 (14:25 -0400)] 
runtime(vim): Update indent script for line continuation with lambda

fixes: #18257
closes: #18269

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 days agoruntime(python): Update syntax, fix pythonEllipsis pattern
Doug Kearns [Thu, 11 Sep 2025 17:54:51 +0000 (13:54 -0400)] 
runtime(python): Update syntax, fix pythonEllipsis pattern

fixes: #18263
closes: #18264

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agoruntime(doc): Update autocmd examples for command line autocompletion
Maxim Kim [Wed, 10 Sep 2025 15:38:04 +0000 (11:38 -0400)] 
runtime(doc): Update autocmd examples for command line autocompletion

In Windows [/] should be escaped [\/]:

autocmd CmdlineChanged [:\/\?] call wildtrigger()

This updated example works both in Linux and Windows.

closes: #18262

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agoruntime(doc): improve docs related to 'autocomplete'
zeertzjq [Wed, 10 Sep 2025 11:35:40 +0000 (07:35 -0400)] 
runtime(doc): improve docs related to 'autocomplete'

Manual completion can still be used when 'autocomplete' is set, so
saying "active" is better than "enabled".

closes: #18261

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agopatch 9.1.1752: tests: need another test for v9.1.1750 behaviour v9.1.1752
Girish Palya [Wed, 10 Sep 2025 08:12:16 +0000 (04:12 -0400)] 
patch 9.1.1752: tests: need another test for v9.1.1750 behaviour

Problem:  tests: No test when deleting text after autocompletion with preinsert
          did complete an entry
Solution: Verify, that after deletion autocompletion does not reinsert
          the deleted text. Note: the actual issue was fixed with v9.1.1750.
          (Girish Palya)

Pre v9.1.1750 behaviour:
When autocomplete is enabled with *preinsert*, deleting text after selecting a
longer match could cause unintended reinsertion, e.g.:

- Matches available: "foo" and "foobar".
- User selects "foobar" with Ctrl-N
- User deletes characters back to "foo".
- Autocomplete then incorrectly re-inserts "bar", preventing deletion past "foo".

v9.1.1750 removes the unwanted reinsertion so text can be deleted correctly.

closes: #18259

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agopatch 9.1.1751: potential buffer-overflow in find_pattern_in_path() v9.1.1751
Christian Brabandt [Wed, 10 Sep 2025 08:09:23 +0000 (04:09 -0400)] 
patch 9.1.1751: potential buffer-overflow in find_pattern_in_path()

Problem:  potential buffer-overflow in find_pattern_in_path()
Problem:  Verify ptr p has enough room before adding ins_compl_len()

fixes: #18195
closes: #18249

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agopatch 9.1.1750: completion: preinserted text highlighed using ComplMatchIns v9.1.1750
Girish Palya [Wed, 10 Sep 2025 08:04:24 +0000 (04:04 -0400)] 
patch 9.1.1750: completion: preinserted text highlighed using ComplMatchIns

Problem:  completion: preinserted text highlighed using ComplMatchIns
Solution: Use highlighting group PreInsert and update the documentation
          (Girish Palya).

When "preinsert" is included in 'completeopt', only the PreInsert
highlight group should be applied, whether autocompletion is active or not.
Previously, ComplMatchIns was used when autocompletion was not enabled.

Related to https://github.com/vim/vim/pull/18213.

closes: #18254

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agopatch 9.1.1749: leaking memory in cs_find_common() v9.1.1749
Christian Brabandt [Wed, 10 Sep 2025 07:59:38 +0000 (03:59 -0400)] 
patch 9.1.1749: leaking memory in cs_find_common()

Problem:  leaking memory in cs_find_common()
          (after v9.1.1746)
Solution: Also free nummatches before returning

closes: #18258

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 days agopatch 9.1.1748: macOS: Default scheduler priority too low v9.1.1748
Luna Razzaghipour [Wed, 10 Sep 2025 07:55:51 +0000 (03:55 -0400)] 
patch 9.1.1748: macOS: Default scheduler priority too low

Problem:  macOS: Default scheduler priority too low
Solution: Explicitly set TASK_DEFAULT_APPLICATION scheduler priority
          to improve responsiveness (Luna Razzaghipour).

closes: #18120

Signed-off-by: Luna Razzaghipour <luna@xoria.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agopatch 9.1.1747: completion: redo (.) broken with preinsert and autocompletion v9.1.1747
Girish Palya [Tue, 9 Sep 2025 19:33:14 +0000 (15:33 -0400)] 
patch 9.1.1747: completion: redo (.) broken with preinsert and autocompletion

Problem:  completion: redo (.) broken with preinsert and autocompletion
Solution: Make redo (.) work with preinsert and autocompletion
          (Girish Palya)

closes: #18253

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(doc): mention 'findfunc' at :h :find
Girish Palya [Tue, 9 Sep 2025 19:31:30 +0000 (15:31 -0400)] 
runtime(doc): mention 'findfunc' at :h :find

fixes: #18250
related: #18253

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agopatch 9.1.1746: Missing Null ptr check in cs_find_common() v9.1.1746
ashamedbit [Tue, 9 Sep 2025 19:21:57 +0000 (15:21 -0400)] 
patch 9.1.1746: Missing Null ptr check in cs_find_common()

Problem:  Missing Null ptr check in cs_find_common()
Solution: Return when tmp pointer is null (ashamedbit)

fixes: #18225
closes: #18248

Signed-off-by: ashamedbit <muralianiruddhan@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agoruntime(doc): mention hl-PreInsert in version9.txt
Christian Brabandt [Tue, 9 Sep 2025 19:15:30 +0000 (15:15 -0400)] 
runtime(doc): mention hl-PreInsert in version9.txt

Signed-off-by: Christian Brabandt <cb@256bit.org>
5 days agopatch 9.1.1745: tabpanel: not properly redraw after wildmenu v9.1.1745
Hirohito Higashi [Tue, 9 Sep 2025 19:11:13 +0000 (15:11 -0400)] 
patch 9.1.1745: tabpanel: not properly redraw after wildmenu

Problem:  tabpanel: not properly redraw after wildmenu
          (ddad431)
Solution: Mark tabpanel to be redrawn (Hirohito Higashi).

fixes: #18209
closes: #18252

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agoruntime(python): highlight ellipsis literals
Jon Parise [Mon, 8 Sep 2025 20:29:53 +0000 (16:29 -0400)] 
runtime(python): highlight ellipsis literals

The ellipsis literal (`...`) can be used in multiple contexts:

- Placeholders:     `class Foo: ...`
- Containers:       `Tuple[int, ...]`
- Assignments:      `x = ...`

This is a trickier pattern to match because we can't rely on keyword
boundaries, so we instead look for exactly three dots (`...`).

This does mean that we will match the `...` portion of `x...x`, which
isn't valid Python syntax, but I think that's an acceptable trade-off
that avoids making this pattern much more complex.

Reference:
- https://docs.python.org/3/library/constants.html#Ellipsis

closes: #18107

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agoruntime(doc): Improve doc for cmdline-autocompletion
Girish Palya [Mon, 8 Sep 2025 20:25:42 +0000 (16:25 -0400)] 
runtime(doc): Improve doc for cmdline-autocompletion

- Address https://github.com/vim/vim/pull/18219#issuecomment-3264634710
- Make the cmdline-autocompletion help more user friendly

closes: #18245

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.1744: tests: Test_skip_wildtrigger_hist_navigation() may fail v9.1.1744
Girish Palya [Mon, 8 Sep 2025 19:47:25 +0000 (15:47 -0400)] 
patch 9.1.1744: tests: Test_skip_wildtrigger_hist_navigation() may fail

Problem:  tests: Test_skip_wildtrigger_hist_navigation() may fail
          (zeertzjq).
Solution: Correct test to validate intended behavior (Girish Palya).

See https://github.com/vim/vim/pull/18219#issuecomment-3265183318

closes: #18243

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agoCI: Bump actions/labeler from 5 to 6
dependabot[bot] [Mon, 8 Sep 2025 19:46:08 +0000 (15:46 -0400)] 
CI: Bump actions/labeler from 5 to 6

Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](https://github.com/actions/labeler/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

closes: #18237

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.1743: Haiku: no full-screen support v9.1.1743
rymdbar [Mon, 8 Sep 2025 19:42:25 +0000 (15:42 -0400)] 
patch 9.1.1743: Haiku: no full-screen support

Problem:  Haiku: no full-screen support
Solution: Add support for toggling full-screen using the keyboard
          (rymdbar)

Makes toggling using keyboard possible. This change does not add any
`:fullscreen` command (Which currently only macVim has).

See https://www.haiku-os.org/docs/userguide/en/keyboard-shortcuts.html
for motivation on key combination used, as well as terminology choice.
With vim being inconsistent (`:help intro` suggests <A> and <M>, while
<Alt> is used at a dozen other places) following Haiku nomenclature
seems most appropriate.

closes: #18235

Signed-off-by: rymdbar <rymdbar@x20.se>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agoruntime(hare): update for Hare 0.25.2
Amelia Clarke [Mon, 8 Sep 2025 19:30:41 +0000 (15:30 -0400)] 
runtime(hare): update for Hare 0.25.2

closes: #18222

Signed-off-by: Amelia Clarke <selene@perilune.dev>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agoruntime(python): Update syntax file, fix f-string float highlighting
Doug Kearns [Mon, 8 Sep 2025 19:27:30 +0000 (15:27 -0400)] 
runtime(python): Update syntax file, fix f-string float highlighting

Fix matching of floats at the beginning of an f-string replacement
field, immediately after the opening brace.

The existing pattern, using `\zs`, cannot consume the already matched
`{` so use a lookbehind instead.

See comment: https://github.com/vim/vim/pull/17962#issuecomment-3201550443

closes: #18220

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.1742: complete: preinsert does not work well with preinsert v9.1.1742
Girish Palya [Mon, 8 Sep 2025 19:23:29 +0000 (15:23 -0400)] 
patch 9.1.1742: complete: preinsert does not work well with preinsert

Problem:  complete: preinsert does not work well with preinsert
Solution: Make "preinsert" completeopt value work with autocompletion
          (Girish Palya)

This change extends Insert mode autocompletion so that 'preinsert' also
works when 'autocomplete' is enabled.

Try: `:set ac cot=preinsert`

See `:help 'cot'` for more details.

closes: #18213

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
6 days agopatch 9.1.1741: Regression with kitty protocol and trailing byte "u" v9.1.1741
Christian Brabandt [Mon, 8 Sep 2025 19:05:13 +0000 (15:05 -0400)] 
patch 9.1.1741: Regression with kitty protocol and trailing byte "u"

Problem:  Regression with kitty protocol and trailing byte "u"
          (chdiza, after v9.1.1736)
Solution: Check that trailing byte "~" is present

fixes: #18232
closes: #18234

Signed-off-by: Christian Brabandt <cb@256bit.org>
7 days agopatch 9.1.1740: Memory leak with wildmode=longest,full and wildoptions=pum v9.1.1740
zeertzjq [Sun, 7 Sep 2025 15:17:39 +0000 (17:17 +0200)] 
patch 9.1.1740: Memory leak with wildmode=longest,full and wildoptions=pum

Problem:  Memory leak with wildmode=longest,full and wildoptions=pum
          (after 9.1.1737).
Solution: Avoid using showmatches() and WILD_NEXT together.  Also fix
          wildmode=longest,noselect:full selecting wrong item
          (zeertzjq).

fixes: #18228
closes: #18229

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
7 days agoruntime(m4): Remove m4Type and leftover m4Function in syntax script
Damien Lejay [Sun, 7 Sep 2025 08:02:43 +0000 (10:02 +0200)] 
runtime(m4): Remove m4Type and leftover m4Function in syntax script

closes: #18223

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
7 days agoruntime(doc): Tweak spacing in develop.txt
Hirohito Higashi [Sun, 7 Sep 2025 07:37:06 +0000 (09:37 +0200)] 
runtime(doc): Tweak spacing in develop.txt

closes: #18226

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
7 days agopatch 9.1.1739: Matches may be listed twice with wildmode=longest,list v9.1.1739
zeertzjq [Sun, 7 Sep 2025 07:35:04 +0000 (09:35 +0200)] 
patch 9.1.1739: Matches may be listed twice with wildmode=longest,list

Problem:  Matches may be listed twice with wildmode=longest,list when
          "longest" doesn't change command line (after 9.1.1737).
Solution: Set did_wild_list when trying "list" after "longest"
          (zeertzjq).

closes: #18227

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agopatch 9.1.1738: cmdline-autocompletion breaks history navigation v9.1.1738
Girish Palya [Sat, 6 Sep 2025 17:47:45 +0000 (19:47 +0200)] 
patch 9.1.1738: cmdline-autocompletion breaks history navigation

Problem:  cmdline-autocompletion breaks history navigation (ddad431)
Solution: Support history navigation in cmdline autocompletion (Girish
          Palya)

Up/Down arrows support history navigation when using wildtrigger()

fixes: #18207
closes: #18219

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agopatch 9.1.1737: Patch v9.1.1714 introduce a regression for wildmenu v9.1.1737
Girish Palya [Sat, 6 Sep 2025 17:39:32 +0000 (19:39 +0200)] 
patch 9.1.1737: Patch v9.1.1714 introduce a regression for wildmenu

Problem:  Patch v9.1.1714 introduce a regression for wildmenu (zeertzjq)
Solution: Restore behavior of "longest" in 'wildmode' (Girish Palya)

- Fixed a regression caused by PR #18125 selecting wrong item
- Fixed another regression where the first pasted text did not appear on
  the command-line after starting Vim.

closes: #18212

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agoruntime(nu): Add new Nushell runtime files
Doug Kearns [Sat, 6 Sep 2025 17:31:00 +0000 (19:31 +0200)] 
runtime(nu): Add new Nushell runtime files

See: https://github.com/elkasztano/nushell-syntax-vim

Thanks to Pete Cruz (@Petesta) for promoting this addition.

closes: #18208

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agoruntime(m4): Remove m4Function
Damien Lejay [Sat, 6 Sep 2025 13:16:06 +0000 (15:16 +0200)] 
runtime(m4): Remove m4Function

closes: #18211

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agopatch 9.1.1736: Cannot detect <F3> using kitty protocol v9.1.1736
Christian Brabandt [Sat, 6 Sep 2025 08:11:39 +0000 (10:11 +0200)] 
patch 9.1.1736: Cannot detect <F3> using kitty protocol

Problem:  Cannot detect <F3> using kitty protocol
Solution: Handle and detect Kitty keys when using the trailing "~" byte

fixes: #18100
closes: #18126

Signed-off-by: Christian Brabandt <cb@256bit.org>
8 days agopatch 9.1.1735: Cygwin Makefile still checks for Win XP version v9.1.1735
Mao-Yining [Sat, 6 Sep 2025 08:03:11 +0000 (10:03 +0200)] 
patch 9.1.1735: Cygwin Makefile still checks for Win XP version

Problem:  Cygwin Makefile still checks for Win XP version
Solution: Remove check for WINVER >= 0x600 in Make_cyg_ming.mak
          (Mao-Yining)

Vim's does no longer support Windows XP and Vista since v9.0.0496. So
the condition in Make_cyg_ming.mak to check for any Windows version below
Vista can be removed.

fixes: #18160
closes: #18215

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(colorresp): use correct load guard pattern
Snijke 1.0rc [Fri, 5 Sep 2025 19:19:24 +0000 (21:19 +0200)] 
runtime(colorresp): use correct load guard pattern

Signed-off-by: Snijke 1.0rc <snijke@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(ada): mark as unmaintained, fix a few issues with the ftplugin
Christian Brabandt [Fri, 5 Sep 2025 19:11:18 +0000 (21:11 +0200)] 
runtime(ada): mark as unmaintained, fix a few issues with the ftplugin

closes: #18178

Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(hamster): do not globally set ignorecase
Christian Brabandt [Fri, 5 Sep 2025 18:57:34 +0000 (20:57 +0200)] 
runtime(hamster): do not globally set ignorecase

related: #15772

Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(m4): Improve comments, distinguish them from #-lines
Damien Lejay [Fri, 5 Sep 2025 15:48:39 +0000 (17:48 +0200)] 
runtime(m4): Improve comments, distinguish them from #-lines

closes: #18200

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agopatch 9.1.1734: Memory leak when allocating match fails v9.1.1734
Damien Lejay [Fri, 5 Sep 2025 15:29:31 +0000 (17:29 +0200)] 
patch 9.1.1734: Memory leak when allocating match fails

Problem:  Memory leak when allocating match fails
Solution: Initialize m to NULL and centralize cleanup via goto fail to
          avoid leaks on early returns (Damien Lejay)

closes: #18204

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agopatch 9.1.1733: tests: failure when remote_server() fails v9.1.1733
Christian Brabandt [Fri, 5 Sep 2025 15:21:51 +0000 (17:21 +0200)] 
patch 9.1.1733: tests: failure when remote_server() fails

Problem:  tests: failure when remote_server() fails
Solution: Catch E240 error when calling remote_server(), Fix syntax
          error in test_wayland.vim

Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(python): Do not match contained identifiers as pythonType
Rob B [Fri, 5 Sep 2025 14:58:35 +0000 (16:58 +0200)] 
runtime(python): Do not match contained identifiers as pythonType

related: #17962
closes: #18206

Signed-off-by: Rob B <github@0x7e.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(netrw): Ensure netrw#fs#Dirname() always returns a trailing slash
Miguel Barro [Fri, 5 Sep 2025 09:33:56 +0000 (11:33 +0200)] 
runtime(netrw): Ensure netrw#fs#Dirname() always returns a trailing slash

closes: #18199

Signed-off-by: Miguel Barro <miguel.barro@live.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
9 days agoruntime(python): add syntax support inside f-strings
Rob B [Fri, 5 Sep 2025 09:28:47 +0000 (11:28 +0200)] 
runtime(python): add syntax support inside f-strings

fixes: #14033
closes: #17962

Signed-off-by: Rob B <github@0x7e.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agopatch 9.1.1732: filetype: .inc file detection can be improved v9.1.1732
Martin Schwan [Thu, 4 Sep 2025 20:09:26 +0000 (22:09 +0200)] 
patch 9.1.1732: filetype: .inc file detection can be improved

Problem:  filetype: .inc file detection can be improved
Solution: Update filetype detection for Pascal and BitBake code
          (Martin Schwan).

Fix the detection of .inc files containing Pascal and BitBake code:

- the concatenated string, merged from three lines, only contains one
  beginning and the pattern "^" would not match as expected. Use a range()
  loop to iterate each line string individually. This way, the pattern "^"
  works for beginning of lines.

- improve BitBake include file detection by also matching forward-slashes
  "/" in variable names and assignment operators with a dot ".=" and "=.".
  Valid examples, which should match, are:

    PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
    MACHINEOVERRIDES =. "qemuall:"
    BBPATH .= ":${LAYERDIR}"

- parse twenty instead of just three lines, to accommodate for potential
  comments at the beginning of files

closes: #18202

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agopatch 9.1.1731: Not using const qualifier for opchars v9.1.1731
Damien Lejay [Thu, 4 Sep 2025 19:58:50 +0000 (21:58 +0200)] 
patch 9.1.1731: Not using const qualifier for opchars

Problem:  Not using const qualifier
Solution: Mark the opchars array const

closes: #18196

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agoruntime(doc): Add a Development policy
Christian Brabandt [Thu, 4 Sep 2025 19:56:08 +0000 (21:56 +0200)] 
runtime(doc): Add a Development policy

closes: #18197

Signed-off-by: Christian Brabandt <cb@256bit.org>
10 days agoruntime(doc): Tweak documentation in vi_diff.txt
Hirohito Higashi [Thu, 4 Sep 2025 15:59:57 +0000 (17:59 +0200)] 
runtime(doc): Tweak documentation in vi_diff.txt

closes: #18201

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(m4): update syntax script
Damien Lejay [Tue, 2 Sep 2025 19:06:35 +0000 (21:06 +0200)] 
runtime(m4): update syntax script

This change does the following to the M4 syntax script:

- In M4 there are no "strings" in the usual sense. Instead, M4 has
  quotes, but the text inside a quoted region is rescanned just like
  outside, and quotes can be nested.
- The old m4String region was misleading and removed. A new m4Quoted
  region reflects proper quoting semantics.
- Removed a duplicate highlight rule.
- Fixed a typo in a highlight group name (m4builtin → m4Builtin).
- Added a reference link to the POSIX M4 specification.
- Removed outdated maintainer URL.

closes: #18192

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoCI: increase timeout parameter to 60s for the link-check
Christian Brabandt [Tue, 2 Sep 2025 19:03:35 +0000 (21:03 +0200)] 
CI: increase timeout parameter to 60s for the link-check

Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(doc): Remove dead link from todo.txt
Christian Brabandt [Tue, 2 Sep 2025 19:03:16 +0000 (21:03 +0200)] 
runtime(doc): Remove dead link from todo.txt

Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(doc): quote partial urls with a backtick
Yochem van Rosmalen [Tue, 2 Sep 2025 18:54:14 +0000 (20:54 +0200)] 
runtime(doc): quote partial urls with a backtick

closes: #18194

Signed-off-by: Yochem van Rosmalen <git@yochem.nl>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(vimgoto): Implement jumping to autoloaded functions
Andrew Radev [Tue, 2 Sep 2025 18:51:43 +0000 (20:51 +0200)] 
runtime(vimgoto): Implement jumping to autoloaded functions

Also refactor the script slightly.

closes: #18193

Co-authored-by: dkearns <dougkearns@gmail.com>
Signed-off-by: Andrew Radev <andrey.radev@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agopatch 9.1.1730: filetype: vivado journal/log files are not recognized v9.1.1730
Wu, Zhenyu [Tue, 2 Sep 2025 18:42:00 +0000 (20:42 +0200)] 
patch 9.1.1730: filetype: vivado journal/log files are not recognized

Problem:  filetype: vivado journal/log files are not recognized
Solution: Detect vivado*.{jou,log} as tcl filetype (Wu Zhenyu).

closes: #18191

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(doc): remove documentation for t_Ms terminal code
Foxe Chen [Tue, 2 Sep 2025 18:36:02 +0000 (20:36 +0200)] 
runtime(doc): remove documentation for t_Ms terminal code

as this was removed in patch: v9.1.1674

closes: #18189

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agoruntime(keymap): Add transliteration (buckwalter) arabic keymap
Rafael Ketsetsides [Tue, 2 Sep 2025 18:29:49 +0000 (20:29 +0200)] 
runtime(keymap): Add transliteration (buckwalter) arabic keymap

References:
- https://en.wikipedia.org/wiki/Buckwalter_transliteration
- http://qamus.org/transliteration.htm

closes: #18186

Signed-off-by: Rafael Ketsetsides <rketsetsides@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agopatch 9.1.1729: CI is not run with clang 21 v9.1.1729
Philip H. [Tue, 2 Sep 2025 18:11:19 +0000 (20:11 +0200)] 
patch 9.1.1729: CI is not run with clang 21

Problem:  CI is not run with clang 21
Solution: Update CI to v21, fix a few warnings that are uncovered when
          using clang 21 (Philip H)

closes: #18142

Signed-off-by: Philip H. <47042125+pheiduck@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agopatch 9.1.1728: termdebug: cannot evaluate visual selected expression v9.1.1728
bennyyip [Tue, 2 Sep 2025 18:06:20 +0000 (20:06 +0200)] 
patch 9.1.1728: termdebug: cannot evaluate visual selected expression

Problem:  termdebug: cannot evaluate visual selected expression
Solution: Add support for visual mode, mapped to K by default (bennyyip)

closes: #18184

Signed-off-by: bennyyip <yebenmy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agopatch 9.1.1727: Nextstep support still included v9.1.1727
Damien Lejay [Tue, 2 Sep 2025 17:18:21 +0000 (19:18 +0200)] 
patch 9.1.1727: Nextstep support still included

Problem:  Nextstep support still included
Solution: Deprecate Nextstep code and undef corresponding feature flag

closes: #18131

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 days agopatch 9.1.1726: Patch v9.1.1725 causes problems v9.1.1726
Christian Brabandt [Tue, 2 Sep 2025 17:06:06 +0000 (19:06 +0200)] 
patch 9.1.1726: Patch v9.1.1725 causes problems

Problem:  Patch v9.1.1725 causes problems
Solution: Revert the patch for now

fixes: #18187

Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(doc): document use of proto files in develop.txt
Damien Lejay [Mon, 1 Sep 2025 19:02:19 +0000 (21:02 +0200)] 
runtime(doc): document use of proto files in develop.txt

closes: #17973

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.1725: Wayland code can be improved v9.1.1725
Foxe Chen [Mon, 1 Sep 2025 18:52:44 +0000 (20:52 +0200)] 
patch 9.1.1725: Wayland code can be improved

Problem:  Wayland code can be improved
Solution: Refactor Wayland Clipboard code (Foxe Chen)

This refactor makes the Wayland codebase less convoluted:
- Move clipboard code in wayland.c to clipboard.c
- Use C99 bool type
- Properly poll the Wayland display file descriptor
- Instead of checking if the data source is not NULL in order to
  determine if a selection event comes from us, use a special mime type to
  identify selection events coming from ourselves. The problem with the
  previous approach is that race conditions may occur.
- Put the focus stealing code under a new feature "wayland_focus_steal"
- Use ELAPSED_* macros instead of gettimeofday()
- Pass tests
- Reimplement commented out code
- Update docs
- Make Wayland clipboard behaviour more in line with X11 when connection is lost
- add missing malloc checks and possible memory leaks + refactored some
  tests.

closes: #18139

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agoruntime(doc): add missing da1 value to TermResponseAll doc
Foxe Chen [Mon, 1 Sep 2025 17:47:52 +0000 (19:47 +0200)] 
runtime(doc): add missing da1 value to TermResponseAll doc

closes: #18179

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
13 days agopatch 9.1.1724: Compiler warning about ununitialized variable in ex_docmd. v9.1.1724
mityu [Mon, 1 Sep 2025 17:18:46 +0000 (19:18 +0200)] 
patch 9.1.1724: Compiler warning about ununitialized variable in ex_docmd.

Problem:  Compiler warning about ununitialized variable in ex_docmd.
Solution: Initialize result variable (mityu)

Silence uninitialized variable warning produced by clang 21.1.0

closes: #18182

Signed-off-by: mityu <mityu.mail@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1723: Missing ifdefs v9.1.1723
Foxe Chen [Sun, 31 Aug 2025 18:31:44 +0000 (20:31 +0200)] 
patch 9.1.1723: Missing ifdefs

Problem:  Missing ifdefs (after v9.1.1719)
Solution: Add ifdef ELAPSED_FUNC (Foxe Chen).

closes: #18178

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1722: compiler may optimize away clearing of crypt key v9.1.1722
ashamedbit [Sun, 31 Aug 2025 18:05:23 +0000 (20:05 +0200)] 
patch 9.1.1722: compiler may optimize away clearing of crypt key

Problem:  Compiler may optimize away clearing of crypt key
Solution: Use sodium_memzero() if available, else use memset() using a
          volatile function pointer (ashamedbit).

closes: #18173

Signed-off-by: ashamedbit <muralianiruddhan@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1721: Defining a global gettimeofday() function v9.1.1721
Hirohito Higashi [Sun, 31 Aug 2025 17:43:23 +0000 (19:43 +0200)] 
patch 9.1.1721: Defining a global gettimeofday() function

Problem:  Defining a global gettimeofday() function causes conflicts if
          gettimeofday() is already defined.
Solution: Revert globalized gettimeofday() function (Hirohito Higashi).

fixes: #18162
fixes: #18161
fixes: #18170
closes: #18173

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1720: using gettimeofday() for parsing OSC responses v9.1.1720
Foxe Chen [Sun, 31 Aug 2025 17:40:24 +0000 (19:40 +0200)] 
patch 9.1.1720: using gettimeofday() for parsing OSC responses

Problem:  Using gettimeofday() for parsing OSC responses
Solution: Use ELAPSED_ macros instead (Foxe Chen).

closes: #18165

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1719: socket server code can be improved v9.1.1719
Foxe Chen [Sun, 31 Aug 2025 17:37:40 +0000 (19:37 +0200)] 
patch 9.1.1719: socket server code can be improved

Problem:  socket server code can be improved
Solution: Refactor code, get rid of gettimeofday() and use ELAPSED_
          macros (Foxe Chen)

closes: #18147

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1718: filetype: kubectl config file is not recognized v9.1.1718
Volodymyr Chernetskyi [Sun, 31 Aug 2025 17:29:01 +0000 (19:29 +0200)] 
patch 9.1.1718: filetype: kubectl config file is not recognized

Problem:  filetype: kubectl config file is not recognized
Solution: Detect .kube/kubectl as yaml filetype
          (Volodymyr Chernetskyi).

References:
- https://kubernetes.io/docs/reference/kubectl/kuberc/

closes: #18169

Signed-off-by: Volodymyr Chernetskyi <19735328+chernetskyi@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1717: filetype: AWS cli alias file is not recognized v9.1.1717
Volodymyr Chernetskyi [Sun, 31 Aug 2025 17:26:19 +0000 (19:26 +0200)] 
patch 9.1.1717: filetype: AWS cli alias file is not recognized

Problem:  filetype: AWS cli alias file is not recognized
Solution: Detect .aws/cli/alias as confini filetype
          (Volodymyr Chernetskyi).

References:
- https://docs.aws.amazon.com/cli/v1/userguide/cli-usage-alias.html

related: #18169

Signed-off-by: Volodymyr Chernetskyi <19735328+chernetskyi@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(java): Dismiss "g:markdown_fenced_languages" for Java buffers
Aliaksei Budavei [Sun, 31 Aug 2025 17:16:14 +0000 (19:16 +0200)] 
runtime(java): Dismiss "g:markdown_fenced_languages" for Java buffers

No support is provided or planned for language recognition
in code snippets of documentation comments.  Requesting to
load arbitrary syntax plugins with the aid of the concerned
variable is therefore wasteful in general and erroneous when
paired languages ":syn-include" one another without taking
steps to manage circularity.

related: #17308
related: #17220
closes: #18172

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(vim): Update base syntax, fix Vim9 :for loop variable highlighting
Doug Kearns [Sun, 31 Aug 2025 17:13:32 +0000 (19:13 +0200)] 
runtime(vim): Update base syntax, fix Vim9 :for loop variable highlighting

Highlight the iteration variable's type in Vim9 :for {var} loops.

Reported by Aliaksei Budavei.

fixes: #17961
closes: #18163

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1716: wrong indent in win_line() v9.1.1716
glepnir [Sun, 31 Aug 2025 17:01:39 +0000 (19:01 +0200)] 
patch 9.1.1716: wrong indent in win_line()

Problem:  The code inside an ifdef was indented incorrectly.
Solution: Adjusted the indentation by one level (glepnir).

closes: #18174

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1715: Some functions need to be re-ordered v9.1.1715
Hirohito Higashi [Sun, 31 Aug 2025 16:52:32 +0000 (18:52 +0200)] 
patch 9.1.1715: Some functions need to be re-ordered

Problem:  Some functions need to be re-ordered
Solution: Re-order and move functions around favoring mch_*() functions
          inside os_*.c files, Change scope of dos_expandpath() to
          global instead of static (Hirohito Higashi)

The following fixes and tweaks have been made:

- Moved the definition of mch_expandpath() from filepath.c to os_win32.c
  in MS-Windows builds (essentially, the mch_~() function should be
  defined in os_~.c.)
- In accordance with the above, the scope of dos_expandpath() has been
  changed from static to global.
- Other miscellaneous changes.

closes: #18176

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1714: completion: wildmode=longest:full selects wrong item v9.1.1714
Girish Palya [Sun, 31 Aug 2025 16:44:29 +0000 (18:44 +0200)] 
patch 9.1.1714: completion: wildmode=longest:full selects wrong item

Problem:  completion: wildmode=longest:full selects wrong item
          (zeertzjq)
Solution: Fix issue, refactor ex_getln.c slightly
          (Girish Palya)

fixes: #18102
closes: #18125

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1713: filetype: fvwm2m4 files are no longer detected v9.1.1713
zeertzjq [Fri, 29 Aug 2025 16:31:29 +0000 (18:31 +0200)] 
patch 9.1.1713: filetype: fvwm2m4 files are no longer detected

Problem:  filetype: fvwm2m4 files are no longer recognized
          (after 9.1.1687).
Solution: Add a special case in m4 filetype detection (zeertzjq).

closes: #18146

Co-authored-by: Damien Lejay <damien@lejay.be>
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1712: Screen not redrawn properly on t_RB response v9.1.1712
Julio B [Fri, 29 Aug 2025 16:25:50 +0000 (18:25 +0200)] 
patch 9.1.1712: Screen not redrawn properly on t_RB response

Problem:  screen not redrawn properly on t_RB response (after v9.1.1703)
Solution: Call redraw_asap() if necessary (Julio B)

closes: #18149

Signed-off-by: Julio B <julio.bacel@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1711: Missing type cast in clipboard.c v9.1.1711
Foxe Chen [Fri, 29 Aug 2025 16:20:23 +0000 (18:20 +0200)] 
patch 9.1.1711: Missing type cast in clipboard.c

Problem:  Missing type cast in clipboard.c
          (Yegappan Lakshmanan, after v9.1.1704)
Solution: Add back the type cast (Foxe Chen)

closes: #18148

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): Add [range] spec to :help :tcl and :help :tclfile
Doug Kearns [Fri, 29 Aug 2025 16:19:04 +0000 (18:19 +0200)] 
runtime(doc): Add [range] spec to :help :tcl and :help :tclfile

A range is allowed for all :tcl* commands.

closes: #18154

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(doc): Tweak documentation style
Hirohito Higashi [Fri, 29 Aug 2025 16:17:40 +0000 (18:17 +0200)] 
runtime(doc): Tweak documentation style

closes: #18155

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1710: Compile warnings in clipboard.c v9.1.1710
Foxe Chen [Fri, 29 Aug 2025 16:12:15 +0000 (18:12 +0200)] 
patch 9.1.1710: Compile warnings in clipboard.c

Problem:  Compile warnings in clipboard.c
          (xvim64, after v9.1.1704)
Solution: Remove returns from void functions (Foxe Chen)

fixes: #18145
closes: #18157

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agopatch 9.1.1709: filetype: kyaml files are not recognized v9.1.1709
Volodymyr Chernetskyi [Fri, 29 Aug 2025 16:08:52 +0000 (18:08 +0200)] 
patch 9.1.1709: filetype: kyaml files are not recognized

Problem:  filetype: kyaml files are not recognized
Solution: Detect *.kyml files as yaml filetype
          (Volodymyr Chernetskyi)

References:
- https://kubernetes.io/blog/2025/08/27/kubernetes-v1-34-release/#alpha-support-for-kyaml-a-kubernetes-dialect-of-yaml

closes: #18158

Signed-off-by: Volodymyr Chernetskyi <19735328+chernetskyi@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2 weeks agoruntime(vim): Update base syntax, match :defer command argument
Doug Kearns [Fri, 29 Aug 2025 16:07:11 +0000 (18:07 +0200)] 
runtime(vim): Update base syntax, match :defer command argument

closes: #18159

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>