]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
2 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months 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>
3 months agopatch 9.1.1708: tests: various tests can be improved v9.1.1708
Yegappan Lakshmanan [Fri, 29 Aug 2025 16:04:26 +0000 (18:04 +0200)] 
patch 9.1.1708: tests: various tests can be improved

Problem:  tests: various tests can be improved
Solution: Use string interpolation to concatenate strings in
          test_winfixbuf, check for specific errors in assert_fails()
          (Yegappan Lakshmanan)

closes: #18151

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(astro): catch json_decode() error when parsing tsconfig.json
Christian Brabandt [Fri, 29 Aug 2025 16:01:08 +0000 (18:01 +0200)] 
runtime(astro): catch json_decode() error when parsing tsconfig.json

(which is jsonc filetype and there can contain comments)

fixes: #18141

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1707: diff.pro contains #ifdefs v9.1.1707
Hirohito Higashi [Fri, 29 Aug 2025 15:52:39 +0000 (17:52 +0200)] 
patch 9.1.1707: diff.pro contains #ifdefs

Problem:  diff.pro contains #ifdefs
Solution: Remove unintentionally added ifdefs
          (Hirohito Higashi)

closes: #18164

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1706: MS-Windows: Compile error when building with if_ruby v9.1.1706
Foxe Chen [Wed, 27 Aug 2025 21:53:41 +0000 (23:53 +0200)] 
patch 9.1.1706: MS-Windows: Compile error when building with if_ruby

Problem:  MS-Windows: Compile error when building with if_ruby
          (Christian Robinson, after v9.1.1704)
Solution: Do not define gettimeofday() if ruby interface is compiled in
          (Foxe Chen).

fixes: #18143
closes: #18144

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoREADME.md: Fix the Warp link
Christian Brabandt [Wed, 27 Aug 2025 21:21:31 +0000 (23:21 +0200)] 
README.md: Fix the Warp link

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoREADME.md: Make the Vim logo visible again.
Christian Brabandt [Wed, 27 Aug 2025 20:39:01 +0000 (22:39 +0200)] 
README.md: Make the Vim logo visible again.

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoREADME.md: Add sponsor banner
Christian Brabandt [Wed, 27 Aug 2025 20:28:34 +0000 (22:28 +0200)] 
README.md: Add sponsor banner

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1705: time.h include is available on all platforms v9.1.1705
Damien Lejay [Wed, 27 Aug 2025 19:31:35 +0000 (21:31 +0200)] 
patch 9.1.1705: time.h include is available on all platforms

Problem:  time.h include is available on all platforms
Solution: Remove ifdef guards and simply include it in all source files,
          get rid of double include in spellfile.c (Damien Lejay).

closes: #18075

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(tutor): Add a section on text objects and special registers to Chapter 2
Christian Brabandt [Wed, 27 Aug 2025 19:28:50 +0000 (21:28 +0200)] 
runtime(tutor): Add a section on text objects and special registers to Chapter 2

fixes: #17808
closes: #18105

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1704: Cannot determine non-X11/Wayland clipmethods v9.1.1704
Foxe Chen [Wed, 27 Aug 2025 19:24:40 +0000 (21:24 +0200)] 
patch 9.1.1704: Cannot determine non-X11/Wayland clipmethods

Problem:  Cannot determine non-X11/Wayland clipmethods
Solution: Add the "gui" value to the 'clipmethod' option (Foxe Chen)

related: #18006
closes: #18067

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1703: Cannot react to terminal OSC responses v9.1.1703
Foxe Chen [Wed, 27 Aug 2025 19:15:47 +0000 (21:15 +0200)] 
patch 9.1.1703: Cannot react to terminal OSC responses

Problem:  Cannot react to terminal OSC responses
Solution: Allow TermResponseAll to be triggered by Terminal OSC
          responses (Foxe Chen)

fixes: #14995
closes: #17975

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(vim): update vim syntax generator for patch v9.1.1692
Christian Brabandt [Wed, 27 Aug 2025 17:24:49 +0000 (19:24 +0200)] 
runtime(vim): update vim syntax generator for patch v9.1.1692

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1702: tests: test_edit still fails on CI v9.1.1702
Christian Brabandt [Wed, 27 Aug 2025 17:07:38 +0000 (19:07 +0200)] 
patch 9.1.1702: tests: test_edit still fails on CI

Problem:  tests: test_edit still fails on CI
          (after v9.1.1701)
Solution: Fix the skip condition

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1701: tests: failure on CI with GUI and ASAN in test_edit.res v9.1.1701
Christian Brabandt [Wed, 27 Aug 2025 16:38:13 +0000 (18:38 +0200)] 
patch 9.1.1701: tests: failure on CI with GUI and ASAN in test_edit.res

Problem:  tests: failure on CI with GUI and ASAN in test_edit.res
          (Hirohito Higashi)
Solution: Disable the test for that specific situation in CI, close
          swapfiles

fixes: #18070

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1700: Multiline ignorecase specific pattern does not match with 'ignorecase' v9.1.1700
Christian Brabandt [Wed, 27 Aug 2025 16:14:27 +0000 (18:14 +0200)] 
patch 9.1.1700: Multiline ignorecase specific pattern does not match with 'ignorecase'

Problem:  a pattern that involves a backref on a different line does not
          match when 'ignorecase' is set (QiWei, after v9.1.0645)
Solution: Use MB_STRNICMP when ignorecase is set, fix tests to close
          swapfiles

related: #14756
fixes: #17470
closes: #18104

Signed-off-by: author
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1699: Fuzzy completion disabled for 'findfunc' and customlist v9.1.1699
Maxim Kim [Wed, 27 Aug 2025 16:09:14 +0000 (18:09 +0200)] 
patch 9.1.1699: Fuzzy completion disabled for 'findfunc' and customlist

Problem:  Fuzzy completion disabled for 'findfunc' and customlist
Solution: Remove those cases from cmdline_fuzzy_completion_supported()
          because it is supported (Maxim Kim).

fixes: #18117
closes: #18122

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(debversions): Move bullseye, focal, and oracular to "unsupported"
James McCoy [Wed, 27 Aug 2025 16:03:04 +0000 (18:03 +0200)] 
runtime(debversions): Move bullseye, focal, and oracular to "unsupported"

These versions have exited their standard support term as of
- bullseye: 2024-08-14
- focal: 2025-05
- oracular: 2025-07-10

closes: #18134

Signed-off-by: James McCoy <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1698: Some error numbers are not documented v9.1.1698
Yegappan Lakshmanan [Wed, 27 Aug 2025 16:00:38 +0000 (18:00 +0200)] 
patch 9.1.1698: Some error numbers are not documented

Problem:  Some error numbers are not documented
          (Restorer)
Solution: Document missing error numbers (Yegappan Lakshmanan).

fixes: #18114
closes: #18135

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(vimcomplete): Try catch completion of `pack_jobs->add({`
Maxim Kim [Wed, 27 Aug 2025 15:56:41 +0000 (17:56 +0200)] 
runtime(vimcomplete): Try catch completion of `pack_jobs->add({`

Fixes the issue, but not the root cause of #18137

related: #18137
closes: #18138

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1697: tests: no test for aclocal.m4 v9.1.1697
Christian Brabandt [Wed, 27 Aug 2025 15:52:56 +0000 (17:52 +0200)] 
patch 9.1.1697: tests: no test for aclocal.m4

Problem:  tests: no test for aclocal.m4
          (after v9.1.1693)
Solution: Add a test that aclocal.m4 is detected as config filetype

related: #18065

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(indent-tests): Use silent write of resulting files
RestorerZ [Tue, 26 Aug 2025 19:54:29 +0000 (21:54 +0200)] 
runtime(indent-tests): Use silent write of resulting files

To avoid littering the terminal output use :silent write.

closes: #18128

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agotranslation: Remove outdated rule for nl.po
RestorerZ [Tue, 26 Aug 2025 19:49:57 +0000 (21:49 +0200)] 
translation: Remove outdated rule for nl.po

There exists a real nl.po file, no need to use a dummy po file anymore.

See also the following commits: 84f72358d6161702938a9

closes: #18127

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1696: tabnr from getwininfo() for popup windows is always 0 v9.1.1696
Sean Dewar [Tue, 26 Aug 2025 19:45:07 +0000 (21:45 +0200)] 
patch 9.1.1696: tabnr from getwininfo() for popup windows is always 0

Problem:  getwininfo() has logic for getting the tabnr of a local popup
          window, but due to only breaking from the inner loop, tp is
          eventually set to NULL, so tabnr is always 0.
Solution: Break out of both loops, continue to use 0 for global popup
          windows (Sean Dewar).

closes: #18111

Signed-off-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(tutor): remove duplicate tutor1.zh
GalaxySnail [Tue, 26 Aug 2025 19:40:12 +0000 (21:40 +0200)] 
runtime(tutor): remove duplicate tutor1.zh

Commit 8d9d2b222dbd09e091ac2bfce5ab105990e85b78 introduced tutor1.zh
which is a the duplicate of tutor1.zh_tw

related: #18123
closes: #18124

Signed-off-by: GalaxySnail <me@glxys.nl>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(tutor): fix language selection for zh
GalaxySnail [Tue, 26 Aug 2025 19:37:38 +0000 (21:37 +0200)] 
runtime(tutor): fix language selection for zh

fixes: #18123
related: #18124

Signed-off-by: GalaxySnail <me@glxys.nl>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1695: Need more Vim script specific tests v9.1.1695
Yegappan Lakshmanan [Tue, 26 Aug 2025 19:32:46 +0000 (21:32 +0200)] 
patch 9.1.1695: Need more Vim script specific tests

Problem:  Need more Vim script specific tests
Solution: Add more tests (Yegappan Lakshmanan).

closes: #18118

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1694: filetype: Buck eXtension Lang files are not recognized v9.1.1694
Jade Lovelace [Tue, 26 Aug 2025 19:28:02 +0000 (21:28 +0200)] 
patch 9.1.1694: filetype: Buck eXtension Lang files are not recognized

Problem:  filetype: Buck eXtension Lang files are not recognized
Solution: Detect *.bxl files as bzl filetype.
          (Jade Lovelace)

References:
- https://buck2.build/docs/bxl/

closes: #18130

Signed-off-by: Jade Lovelace <jadel@mercury.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1693: tests: test_filetype fails in shadow dir v9.1.1693
Christian Brabandt [Tue, 26 Aug 2025 19:24:06 +0000 (21:24 +0200)] 
patch 9.1.1693: tests: test_filetype fails in shadow dir

Problem:  tests: test_filetype fails in shadow dir
          (after v9.1.9.1.1687)
Solution: Use a custom test that does not rely on configure.ac
          being existing in the upper directory tree.

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1692: global_functions are not constant v9.1.1692
Damien Lejay [Tue, 26 Aug 2025 19:03:31 +0000 (21:03 +0200)] 
patch 9.1.1692: global_functions are not constant

Problem:  global_functions are not constant
Solution: Place global_functions[] in read-only memory (Damien Lejay).

Mark global_functions[] as `static const`.  The table is never modified
at runtime, so keeping it in writable `.data` has no benefit.

Only a local pointer in func_check_arg_types() needed adjusting to
`const`.  No functional changes.

closes: #18121

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1691: over-allocation in ga_concat_strings() v9.1.1691
Damien Lejay [Tue, 26 Aug 2025 15:55:14 +0000 (17:55 +0200)] 
patch 9.1.1691: over-allocation in ga_concat_strings()

Problem:  over-allocation in ga_concat_strings()
Solution: Fix ga_concat_strings() and only allocate n-1 separator length
          bytes (Damien Lejay).

ga_concat_strings() was adding the separator length for every item,
including the last one. Only (n - 1) separators are actually used.
This caused harmless but unnecessary overallocation.

closes: #18112

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1690: Missing recursion guard in dos/unix_expandpath() v9.1.1690
ashamedbit [Tue, 26 Aug 2025 15:43:18 +0000 (17:43 +0200)] 
patch 9.1.1690: Missing recursion guard in dos/unix_expandpath()

Problem:  Missing recursion guard in dos/unix_expandpath()
Solution: Add guard variables (ashamedbit)

fixes: #18099
closes: #18106

Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: ashamedbit <muralianiruddhan@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1689: CmdlineChanged not triggered by <Del> v9.1.1689
Shougo Matsushita [Tue, 26 Aug 2025 15:36:49 +0000 (17:36 +0200)] 
patch 9.1.1689: CmdlineChanged not triggered by <Del>

Problem:  CmdlineChanged not triggered by <Del>
Solution: Use STRCMP() instead of STRNCMP()
          (Shougo Matsushita)

closes: #18101

Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1688: potential buffer overrun in bufwrite.c v9.1.1688
John Marriott [Tue, 26 Aug 2025 15:32:18 +0000 (17:32 +0200)] 
patch 9.1.1688: potential buffer overrun in bufwrite.c

Problem:  potential buffer overrun in bufwrite.c
Solution: Use a temporary variable (John Marriott)

In my Windows 11 Pro 64-bit build MAXPATHL is 1024 and IOSIZE is 1025.
In my Archlinux Linux 64-bit build MAXPATHL is 4096 and IOSIZE is 1025.

In funuction buf_write():
There is a check (line 713) that makes sure the length of fname is less
than MAXPATHL. There is a call to STRCPY() (line 1208) which copies the
string at fname into IObuff (which has size IOSIZE). For Unix builds
fname is set to sfname which may or may not be shorter. However, if
sfname is NULL sfname is set to fname.

Therefore, in builds where MAXPATHL > IOSIZE (eg in my linux build), it
is theoretically possible for the STRCPY() call to exceed the bounds of
IObuff.

This PR addresses this by copying fname into a local variable that has
the same maximum size as fname.

In addition:
Given that the filename is unconditionally overwritten in the for loop,
only copy the directory portion of fname. Move variable i closer to
where it is used.

closes: #18095

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1687: filetype: autoconf filetype not always correct v9.1.1687
Damien Lejay [Tue, 26 Aug 2025 15:09:47 +0000 (17:09 +0200)] 
patch 9.1.1687: filetype: autoconf filetype not always correct

Problem:  filetype: autoconf filetype not always correct
Solution: Detect aclocal.m4 as config filetype, detect configure.ac as
          config filetype, fall back to POSIX m4 (Damien Lejay).

closes: #18065

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(lf): update syntax to support lf version r37
Andis Spriņķis [Mon, 25 Aug 2025 22:02:01 +0000 (00:02 +0200)] 
runtime(lf): update syntax to support lf version r37

Adds the lf release 37 specific syntax highlighting changes.

From the PR andis-sprinkis/lf-vim#23 by @CatsDeservePets

closes: #18115

Signed-off-by: Andis Spriņķis <andis@sprinkis.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1686: if_ruby: unknown pragma when not using gcc v9.1.1686
Cthulhux [Mon, 25 Aug 2025 21:45:13 +0000 (23:45 +0200)] 
patch 9.1.1686: if_ruby: unknown pragma when not using gcc

Problem:  if_ruby: unknown pragma when not using gcc
Solution: only use GCC pragma, when using GCC
          (Cthulhux)

fixes: #18109
closes: #18110

Signed-off-by: Cthulhux <github@tuxproject.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1685: Missing changes from PR 18068 v9.1.1685
Girish Palya [Mon, 25 Aug 2025 21:33:39 +0000 (17:33 -0400)] 
patch 9.1.1685: Missing changes from PR 18068

Problem:  Missing changes from PR 18068
Solution: Include the missing changes
          (Girish Palya)

Co-authored-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1684: min()/max() does not handle float data types v9.1.1684
LemonBoy [Sun, 24 Aug 2025 11:09:04 +0000 (13:09 +0200)] 
patch 9.1.1684: min()/max() does not handle float data types

Problem:  min()/max() does not handle float data types
          (ubaldot)
Solution: Extend min() and max() to every comparable type
          (LemonBoy)

Re-use the logic used for plain old comparison operators, this way we
gain support for float values and unify the logic handling the
comparisons.

fixes: #18052
closes: 18055

Signed-off-by: LemonBoy <thatlemon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1683: xxd: Avoid null dereference in autoskip colorless v9.1.1683
Joakim Nohlgård [Sun, 24 Aug 2025 10:36:44 +0000 (12:36 +0200)] 
patch 9.1.1683: xxd: Avoid null dereference in autoskip colorless

Problem:  xxd: Avoid null dereference in autoskip colorless
Solution: Verify that colors is not null (Joakim Nohlgård)

Fixes bug introduced in 6897f18ee6e5bb78b32c97616e484030fd514750
(v9.1.1459) which does a memcpy from NULL when color=never and the
autoskip option is used.

Before:

dd if=/dev/zero bs=100 count=1 status=none | xxd -a -R never
00000000: 0000 0000 0000 0000 0000 0000 0000 0000  ................
Segmentation fault (core dumped)

After:

dd if=/dev/zero bs=100 count=1 status=none | ./xxd/xxd -a -R never
00000000: 0000 0000 0000 0000 0000 0000 0000 0000  ................
*
00000060: 0000 0000                                ....

closes: #18008

Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(python): support 'type's soft keyword form
Jon Parise [Sun, 24 Aug 2025 10:31:08 +0000 (12:31 +0200)] 
runtime(python): support 'type's soft keyword form

`type` became a soft keyword in Python 3.12. In that form, it is a
statement that declares a type alias:

    # type_stmt ::= 'type' identifier [type_params] "=" expression
    type Point = tuple[float, float]

To implement support for this, this change does three things:

1. adds a `pythonType` group (linked to `Type`)
2. matches `type` followed by an identifier as `pythonStatement`
3. continues to match `type` in other forms as `pythonBuiltin`

Ref:
- https://docs.python.org/3/reference/lexical_analysis.html#soft-keywords
- https://docs.python.org/3/reference/simple_stmts.html#the-type-statement

closes: #18090

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Zvezdan Petkovic <zpetkovic@acm.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1682: tests: Test_wildtrigger_update_screen() creates unused mapping v9.1.1682
zeertzjq [Sun, 24 Aug 2025 10:24:08 +0000 (12:24 +0200)] 
patch 9.1.1682: tests: Test_wildtrigger_update_screen() creates unused mapping

Problem:  tests: Test_wildtrigger_update_screen() creates an unused
          mapping (after 9.1.1621).
Solution: Remove the mapping. Also use blank lines more consistently in
          test_cmdline.vim screendump tests (zeertzjq).

closes: #18096

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1681: tests: no test for actually moving cursor with 'acl' v9.1.1681
zeertzjq [Sun, 24 Aug 2025 10:22:10 +0000 (12:22 +0200)] 
patch 9.1.1681: tests: no test for actually moving cursor with 'acl'

Problem:  tests: no test for actually moving cursor when menu is not
          open with 'autocompletedelay'.
Solution: Use <Up> first in the test. Also remove two unnecessary <Esc>s
          in completion timeout test (zeertzjq).

closes: #18097

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(termdebug): Remove load guard
Yegappan Lakshmanan [Sun, 24 Aug 2025 10:19:20 +0000 (12:19 +0200)] 
runtime(termdebug): Remove load guard

closes: #18098

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(doc): update termguicolors default description
Christian Brabandt [Sat, 23 Aug 2025 17:46:49 +0000 (19:46 +0200)] 
runtime(doc): update termguicolors default description

related: #18087

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1680: MS-Windows: possible buffer-under run in if_cscope v9.1.1680
Christian Brabandt [Sat, 23 Aug 2025 16:11:28 +0000 (18:11 +0200)] 
patch 9.1.1680: MS-Windows: possible buffer-under run in if_cscope

Problem:  MS-Windows: possible buffer-under run in if_cscope
          cs_pathcomponents() (Murali Aniruddhan)
Solution: Fix the loop and do not decrement the pointer twice.

closes: #18091

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1679: unclear what key causes CmdlineLeave autocommand v9.1.1679
Girish Palya [Sat, 23 Aug 2025 16:08:27 +0000 (18:08 +0200)] 
patch 9.1.1679: unclear what key causes CmdlineLeave autocommand

Problem:  unclear what key causes CmdlineLeave autocommand
Solution: Set |v:char| to the key (Girish Palya).

related: #17806
closes: #18063

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(netrw): fix :Explore command in terminal
Jason Long [Sat, 23 Aug 2025 15:44:32 +0000 (17:44 +0200)] 
runtime(netrw): fix :Explore command in terminal

There are really two issues solved here:

- The directory listing was not populating the new buffer when using
  the :Explore command. This was because the directory to open is
  determined by using expand("%:p") which includes '!/running/command' at
  the end of the string in terminal buffers.

- The :Explore command should replace the buffer, not split it. This
  because the Explore command will automatically split if the current
  buffer has been modified. According to the docs, all terminal buffers
  will have the modified flag set when a job is running.

fixes: #9862
closes: #18069

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1678: Amiga: cannot handle large undo files v9.1.1678
Damien Lejay [Sat, 23 Aug 2025 15:37:12 +0000 (17:37 +0200)] 
patch 9.1.1678: Amiga: cannot handle large undo files

Problem:  Amiga: cannot handle large undo files
Solution: Remove the existing restriction as it was only valid for
          classic Amiga (Damien Lejay).

It seems that this block was only relevant for classic AmigaOS (< 32K
alloc limit). And it seems to no longer apply: AmigaOS 4.0 switched to
a slab allocator memory system.

closes: #18072

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1677: wrong ifdef in message.c v9.1.1677
Damien Lejay [Sat, 23 Aug 2025 15:20:03 +0000 (17:20 +0200)] 
patch 9.1.1677: wrong ifdef in message.c

Problem:  wrong ifdef in message.c
Solution: change it to #ifndef MSWIN (Damien Lejay)

The extra newline on screen switch is needed for all TTY/termcap
backends (Unix, VMS, others).

Only Windows uses a different console API.
Better use #ifndef MSWIN to express the real intent.

closes: #18076

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1676: completion: long line shown twice v9.1.1676
Girish Palya [Sat, 23 Aug 2025 15:11:18 +0000 (17:11 +0200)] 
patch 9.1.1676: completion: long line shown twice

Problem:  completion: long line shown twice
          (Maxim Kim)
Solution: Fix the issue, disable an incorrect test.
          (Girish Palya)

fixes: #18035
closes: #18088

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(sh): add syntax highlighting support for ${ cmd;} and ${|cmd;}
Kevin Pulo [Sat, 23 Aug 2025 15:07:44 +0000 (17:07 +0200)] 
runtime(sh): add syntax highlighting support for ${ cmd;} and ${|cmd;}

bash 5.3 (released July 2025) added support for ${ cmd;} and
${|cmd;} style command substitution, which is similar (but not
identical) to ksh/mksh.

closes: #18084

Signed-off-by: Kevin Pulo <kevin.pulo@mongodb.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1675: MS-Windows: Makefiles can be refactored v9.1.1675
RestorerZ [Sat, 23 Aug 2025 15:00:17 +0000 (17:00 +0200)] 
patch 9.1.1675: MS-Windows: Makefiles can be refactored

Problem:  MS-Windows: Makefiles can be refactored
Solution: Refactor using a common tools.mak, make some style changes
          (RestorerZ).

closes: #18060

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1674: Patch v9.1.1666 causes problems on kitty v9.1.1674
Foxe Chen [Sat, 23 Aug 2025 14:34:18 +0000 (16:34 +0200)] 
patch 9.1.1674: Patch v9.1.1666 causes problems on kitty

Problem:  Patch v9.1.1666 causes problems on kitty
          (Sami Farin)
Solution: Remove Ms value from termcodes (Foxe Chen)

related: #18033
closes: #18093

Signed-off-by: Foxe Chen <chen.foxe@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1673: if_python: still support for Python 1 v9.1.1673
Hirohito Higashi [Sat, 23 Aug 2025 14:31:15 +0000 (16:31 +0200)] 
patch 9.1.1673: if_python: still support for Python 1

Problem:  if_python: still support for Python 1
Solution: Drop outdated code (Hirohito Higashi)

closes: #18092

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1672: completion: cannot add timeouts for 'cpt' sources v9.1.1672
Girish Palya [Sat, 23 Aug 2025 14:20:03 +0000 (16:20 +0200)] 
patch 9.1.1672: completion: cannot add timeouts for 'cpt' sources

Problem:  completion: cannot add timeouts for 'cpt' sources
          (Evgeni Chasnovski)
Solution: Add the 'autocompletetimeout' and 'completetimeout' options
          (Girish Palya)

fixes: #17908
closes: #17967

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agoruntime(fstab): Added mtab support to fstab syntax.
Radu Dineiu [Sat, 23 Aug 2025 11:47:51 +0000 (13:47 +0200)] 
runtime(fstab): Added mtab support to fstab syntax.

closes: #18074

Signed-off-by: Radu Dineiu <radu.dineiu@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1671: configure: missing comment about AC_CONFIG_SRCDIR v9.1.1671
Damien Lejay [Sat, 23 Aug 2025 10:43:27 +0000 (06:43 -0400)] 
patch 9.1.1671: configure: missing comment about AC_CONFIG_SRCDIR

Problem:  configure: missing comment about AC_CONFIG_SRCDIR
Solution: Add comment explaining the use of AC_CONFIG_SRCDIR
          (Damien Lejay)

closes: #18071

Signed-off-by: Damien Lejay <damien@lejay.be>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 months agopatch 9.1.1670: completion: autocomplete breaks second completion v9.1.1670
Girish Palya [Sat, 23 Aug 2025 10:36:00 +0000 (06:36 -0400)] 
patch 9.1.1670: completion: autocomplete breaks second completion

Problem:  completion: autocomplete breaks second completion
          (gravndal)
Solution: Fix the autocomplete bug (Girish Palya)

fixes: #18044
closes: #18068

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>