]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
2 months agoRemove dlejay from maintainer list
Damien Lejay [Sat, 20 Sep 2025 14:08:50 +0000 (14:08 +0000)] 
Remove dlejay from maintainer list

closes: #18352

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1775: filetype: Mamba configuration files are not recognized v9.1.1775
Samuel Huang [Thu, 18 Sep 2025 20:28:53 +0000 (20:28 +0000)] 
patch 9.1.1775: filetype: Mamba configuration files are not recognized

Problem:  filetype: Mamba configuration files are not recognized
Solution: Detect .mambarc and mambarc as yaml filetype (Samuel Huang).

References:
- https://mamba.readthedocs.io/en/latest/user_guide/configuration.html

closes: #18338

Signed-off-by: Samuel Huang <hi@sgh.ng>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1774: cannot calculate sha256 of a Blob v9.1.1774
thinca [Thu, 18 Sep 2025 20:22:23 +0000 (20:22 +0000)] 
patch 9.1.1774: cannot calculate sha256 of a Blob

Problem:  cannot calculate sha256() of a Blob
Solution: Change sha256() to accept a Blob or String argument
          (thinca).

closes: #18336

Signed-off-by: thinca <thinca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(config): fix inconsistent group name
zeertzjq [Thu, 18 Sep 2025 20:19:02 +0000 (20:19 +0000)] 
runtime(config): fix inconsistent group name

related: #18292

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1773: Crash in BufLeave after BufUnload closes other windows v9.1.1773
zeertzjq [Thu, 18 Sep 2025 20:05:19 +0000 (20:05 +0000)] 
patch 9.1.1773: Crash in BufLeave after BufUnload closes other windows

Problem:  Crash in BufLeave/WinLeave/TabLeave when closing window after
          BufUnload closes all other windows in the tab page.
Solution: Avoid duplicate BufLeave/WinLeave events. Trigger TabLeave
          before removing the buffer (zeertzjq).

related: #14166
related: neovim/neovim#33603
closes: #18330

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1772: completion: inconsistent selection of first item with 'autocomplete' v9.1.1772
Girish Palya [Thu, 18 Sep 2025 19:55:21 +0000 (19:55 +0000)] 
patch 9.1.1772: completion: inconsistent selection of first item with 'autocomplete'

Problem:  completion: inconsistent selection of first item with
          'autocomplete' (Tomasz N)
Solution: Check for 'autocomplete' option in ins_compl_new_leader()
          (Girish Palya).

fixes: #18326
closes: #18329

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1771: complete: some redraw issues with 'autocomplete' v9.1.1771
Girish Palya [Thu, 18 Sep 2025 19:46:01 +0000 (19:46 +0000)] 
patch 9.1.1771: complete: some redraw issues with 'autocomplete'

Problem:  complete: some redraw issues with 'autocomplete'
Solution: Fix the issues (Girish Palya)

This commit contains the following changes:
* Fix that wildtrigger() might leave opened popupmenu around #18298
* Remove blinking message on the command line when a menu item from a loaded
  buffer is selected during 'autocomplete'
* Add a test for PR #18265 to demonstrate why the PR is required for correct
  'autocomplete' behavior

fixes: #18298
closes: #18328

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1770: Vim9: wrong behaviour with trailing comments in command blocks v9.1.1770
Yegappan Lakshmanan [Thu, 18 Sep 2025 19:40:22 +0000 (19:40 +0000)] 
patch 9.1.1770: Vim9: wrong behaviour with trailing comments in command blocks

Problem:  Vim9: wrong behaviour with trailing comments in command blocks
          (balki)
Solution: Correctly skip over trailing comments (Yegappan Lakshmanan).

fixes: #18268
closes: #18327

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(log): highlight Java Errors
Christian Brabandt [Thu, 18 Sep 2025 19:37:10 +0000 (19:37 +0000)] 
runtime(log): highlight Java Errors

closes: #18315

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1769: completion: "preinsert" insert wrong word with 'smartcase' and 'autoc... v9.1.1769
Girish Palya [Thu, 18 Sep 2025 19:33:26 +0000 (19:33 +0000)] 
patch 9.1.1769: completion: "preinsert" insert wrong word with 'smartcase' and 'autocomplete'

Problem:  completion: "preinsert" insert wrong word with 'smartcase' and
          'autocomplete'
Solution: Add compare completed item with the leader (Girish Palya)

closes: #18313

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(vim): Update base syntax, fix indented Vim9 :redir highlighting
Doug Kearns [Thu, 18 Sep 2025 19:28:18 +0000 (19:28 +0000)] 
runtime(vim): Update base syntax, fix indented Vim9 :redir highlighting

Include post operator whitespace in the Vim9 variable assignment
lookahead so that "redir =>" doesn't match as an assignment.

fixes: #18319
closes: #18323

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(netrw): update regex to handle remote archives
Hirohito Higashi [Wed, 17 Sep 2025 20:35:56 +0000 (20:35 +0000)] 
runtime(netrw): update regex to handle remote archives

closes: #18318

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1768: Makefile does not uninstall global plugins v9.1.1768
Christian Brabandt [Wed, 17 Sep 2025 20:20:45 +0000 (20:20 +0000)] 
patch 9.1.1768: Makefile does not uninstall global plugins

Problem:  Makefile does not uninstall global plugins
          (after v9.1.1757)
Solution: Uninstall global plugins before installing them,
          so that old files are not carried around and loaded
          when no longer used.

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1767: Patch v9.1.1765 was wrong v9.1.1767
Christian Brabandt [Wed, 17 Sep 2025 19:51:52 +0000 (19:51 +0000)] 
patch 9.1.1767: Patch v9.1.1765 was wrong

Problem:  Patch v9.1.1765 was wrong
Solution: Roll back the change, it's correct to have call_func()
          initialize the type, so that not each function has to
          do this on its own.

This reverts commit 19fa46a469743653a16a48c4222482d9f33e30a2.

closes: #18317

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(kitty): Fix typo in syntax file for kitty 18322/head
Shawon [Tue, 16 Sep 2025 19:25:31 +0000 (19:25 +0000)] 
runtime(kitty): Fix typo in syntax file for kitty

closes: #18312

Signed-off-by: Shawon <mdmoinulhossainshawon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1766: Vim9: some functions do not handle null_string correctly v9.1.1766
Yegappan Lakshmanan [Tue, 16 Sep 2025 19:19:42 +0000 (19:19 +0000)] 
patch 9.1.1766: Vim9: some functions do not handle null_string correctly

Problem:  Vim9: some Vim9 functions do not handle null_string correctly
          and may crash Vim (kennypete).
Solution: Check for null_string correctly in the searchpair() and
          substitute() functions (Yegappan Lakshmanan).

fixes: #18309
closes: #18311

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): Tweak doc style in syntax.txt
Hirohito Higashi [Tue, 16 Sep 2025 19:07:57 +0000 (19:07 +0000)] 
runtime(doc): Tweak doc style in syntax.txt

closes: #18310

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): mention generic log highlighter
Christian Brabandt [Tue, 16 Sep 2025 19:01:59 +0000 (19:01 +0000)] 
runtime(doc): mention generic log highlighter

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): fix doc style from commit 5c9b71d63c1
Christian Brabandt [Tue, 16 Sep 2025 12:41:01 +0000 (14:41 +0200)] 
runtime(doc): fix doc style from commit 5c9b71d63c1

related: #18265

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(kitty): fix typo in syntax script
Christian Brabandt [Mon, 15 Sep 2025 20:38:43 +0000 (20:38 +0000)] 
runtime(kitty): fix typo in syntax script

related: #18280

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): remove trailing whitespace from example in builtin.txt
Christian Brabandt [Mon, 15 Sep 2025 20:23:12 +0000 (20:23 +0000)] 
runtime(doc): remove trailing whitespace from example in builtin.txt

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): clarify how to call complete() funcs
Christian Brabandt [Mon, 15 Sep 2025 20:21:38 +0000 (20:21 +0000)] 
runtime(doc): clarify how to call complete() funcs

related: #18287

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(m4): Improve parameters highlighting in syntax script
Damien Lejay [Mon, 15 Sep 2025 19:59:58 +0000 (19:59 +0000)] 
runtime(m4): Improve parameters highlighting in syntax script

closes: #18306

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1765: f_isnan() and f_isinf() do not correctly initialize rettv type v9.1.1765
Damien Lejay [Mon, 15 Sep 2025 19:55:25 +0000 (19:55 +0000)] 
patch 9.1.1765: f_isnan() and f_isinf() do not correctly initialize rettv type

Problem:  f_isnan() and f_isinf() do not correctly initialize rettv type
Solution: Initialize them with type: VAR_NUMBER and value 0 (Damien Lejay).

Both builtins wrote only rettv->vval.v_number and relied on call_func()
initialising rettv->v_type to VAR_NUMBER.  Explicitly set

    rettv->v_type = VAR_NUMBER;
    rettv->vval.v_number = 0;

at function entry to avoid undefined behaviour and make the return type
self-contained.

closes: #18307

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(termdebug): drop outdated comment from termdebug.vim
Simon Sobisch [Mon, 15 Sep 2025 19:49:32 +0000 (19:49 +0000)] 
runtime(termdebug): drop outdated comment from termdebug.vim

that was an internal note which somehow slipped in months ago and even
survived the change to Vimscript9

closes: #18305

Signed-off-by: Simon Sobisch <simonsobisch@web.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(colors): update colorschemes:
Maxim Kim [Mon, 15 Sep 2025 19:47:20 +0000 (19:47 +0000)] 
runtime(colors): update colorschemes:

- Add PreInsert (darkblue, habamax, lunaperche, wildcharm, retrobox).
- Update QuickFixLine (habamax, lunaperche, wildcharm, retrobox) - make
  it foreground transparent in GUI.
- Make Todo in wildcharm just bold.

closes: #18304

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): Fix typos in eval.txt
Hirohito Higashi [Mon, 15 Sep 2025 19:46:07 +0000 (19:46 +0000)] 
runtime(doc): Fix typos in eval.txt

closes: #18301

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoFix some typos in documentation, C code and test files
zeertzjq [Mon, 15 Sep 2025 19:42:30 +0000 (19:42 +0000)] 
Fix some typos in documentation, C code and test files

closes: #18300

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1764: filetype: CODEOWNERS file not recognized v9.1.1764
Jon Parise [Mon, 15 Sep 2025 19:35:47 +0000 (19:35 +0000)] 
patch 9.1.1764: filetype: CODEOWNERS file not recognized

Problem:  filetype: CODEOWNERS file not recognized
Solution: Detect CODEOWNERS file as codeowners filetype, include a
          syntax and filetype plugin (Jon Parise).

CODEOWNERS files define code ownership rules for GitHub-hosted (and
other) repositories. The syntax is similar to 'gitignore' files but
differs in enough ways to warrant its own filetype.

References:
- https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

closes: #18299

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1763: filetype: kitty config files are not recognized v9.1.1763
Shawon [Mon, 15 Sep 2025 19:10:12 +0000 (19:10 +0000)] 
patch 9.1.1763: filetype: kitty config files are not recognized

Problem:  filetype: kitty config files are not recognized
Solution: Detect */kitty/*.conf as kitty filetype, include a syntax
          script (Shawon).

closes: #18280

Signed-off-by: Shawon <mdmoinulhossainshawon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1762: completion: selected item not cleared on <BS> with 'ac' v9.1.1762
Girish Palya [Mon, 15 Sep 2025 19:01:01 +0000 (19:01 +0000)] 
patch 9.1.1762: completion: selected item not cleared on <BS> with 'ac'

Problem:  completion: selected item not cleared on backspace when
          'autocomplete' is set
Solution: Clear the selected item (Girish Palya)

closes: #18260

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoProblem: 'ruler' is set in defaults.vim v9.1.1761
Christian Brabandt [Mon, 15 Sep 2025 18:40:57 +0000 (18:40 +0000)] 
Problem:  'ruler' is set in defaults.vim

Problem:  'ruler' is set in defaults.vim, but not enabled by default in
          non-compatible mode.
Solution: set the ruler option in non-compatible mode, remove it from
          defaults.vim, update tests

closes: #18260

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): Improve doc for cmdline-ranges in cmdline.txt
Peter Kenny [Mon, 15 Sep 2025 18:35:53 +0000 (18:35 +0000)] 
runtime(doc): Improve doc for cmdline-ranges in cmdline.txt

closes: #18278

Signed-off-by: Peter Kenny <github.com@k1w1.cyou>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): Improve the doc for :syn-containedin
Damien Lejay [Mon, 15 Sep 2025 18:05:18 +0000 (18:05 +0000)] 
runtime(doc): Improve the doc for :syn-containedin

closes: #18290

Co-authored-by: h_east <h.east.727@gmail.com>
Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): typo in recent doc style tweaks in options.txt
Antonio Giovanni Colombo [Mon, 15 Sep 2025 17:53:16 +0000 (17:53 +0000)] 
runtime(doc): typo in recent doc style tweaks in options.txt

Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1760: wrong proto file for insexpand.pro 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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 months 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 months 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 months 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 months 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 months 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 months 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 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>