]> git.ipfire.org Git - thirdparty/vim.git/log
thirdparty/vim.git
3 weeks agopatch 9.1.1848: A few typos in the code v9.1.1848
zeertzjq [Sun, 12 Oct 2025 14:14:46 +0000 (14:14 +0000)] 
patch 9.1.1848: A few typos in the code

Problem:  A few typos in the code
Solution: Fix typos (zeertzjq)

closes: #18550

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1847: No cmdline completion for :echoconsole and :echowindow v9.1.1847
zeertzjq [Sun, 12 Oct 2025 14:12:41 +0000 (14:12 +0000)] 
patch 9.1.1847: No cmdline completion for :echoconsole and :echowindow

Problem:  No cmdline completion for :echoconsole, :echowindow and second
          expression after :echoerr.
Solution: Set EXPAND_EXPRESSION for :echoconsole and :echowindow, and
          check for multiple expressions after :echoerr (zeertzjq).

closes: #18552

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(cangjie): Fixes and improvements for syntax script
Wu Junkai [Sun, 12 Oct 2025 14:10:34 +0000 (14:10 +0000)] 
runtime(cangjie): Fixes and improvements for syntax script

Housekeeping:
- Add GitHub repository link
- Update Last Change date

Style:
- Add Vim modeline for consistent formatting
- Unify indentation style (spaces to tabs)
- Wrap long cluster definitions for readability

New Features:
- Add highlighting for escape sequences
- Add error highlighting for invalid rune literals
- Add syntax-based folding support

Fixes:
- Fix rune matching to allow only a single character/escape
- Fix highlighting for double-quoted rune literals
- Fix highlighting for floats with exponents and type suffixes

Co-authored-by: dkearns <dougkearns@gmail.com>
Signed-off-by: Wu Junkai <wujunkai20041123@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Add missing optional tail command-name specs
Doug Kearns [Sat, 11 Oct 2025 15:51:45 +0000 (15:51 +0000)] 
runtime(doc): Add missing optional tail command-name specs

- Use the optional tail command-name specs at help entries for :keepalt,
  :lcd, :cfdo, :lfdo, :wundo, :rundo, :bdelete and :bunload.
- Add missing shortname tags.

closes: #18547

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): Update documentation style in gui_w32.txt
Hirohito Higashi [Sat, 11 Oct 2025 15:29:31 +0000 (15:29 +0000)] 
runtime(doc): Update documentation style in gui_w32.txt

closes: #18546

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agoruntime(doc): update credit section for Girish Palya
Girish Palya [Sat, 11 Oct 2025 10:06:00 +0000 (10:06 +0000)] 
runtime(doc): update credit section for Girish Palya

closes: #18544

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1846: Build failure when building without wayland v9.1.1846
Christian Brabandt [Fri, 10 Oct 2025 16:00:36 +0000 (16:00 +0000)] 
patch 9.1.1846: Build failure when building without wayland

Problem:  Build failure when building without wayland
          (bennyyip, after v9.1.1844)
Solution: Update Makefile dependencies again, remove wayland
          dependencies for clipboard.c,

fixes: #18534
fixes: #18536
fixes: #18537
closes: #18538

Signed-off-by: Christian Brabandt <cb@256bit.org>
3 weeks agopatch 9.1.1845: Makefile: Missing dependency on osdef.h v9.1.1845
Christian Brabandt [Fri, 10 Oct 2025 00:04:53 +0000 (00:04 +0000)] 
patch 9.1.1845: Makefile: Missing dependency on osdef.h

Problem:  Makefile: Missing dependency on osdef.h
Solution: Add explicit dependency on auto/osdef.h

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): Tweak documentation in develop.txt
Hirohito Higashi [Thu, 9 Oct 2025 21:12:19 +0000 (21:12 +0000)] 
runtime(doc): Tweak documentation in develop.txt

closes: #18532

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1844: Makefile: dependencies not updated v9.1.1844
Christian Brabandt [Thu, 9 Oct 2025 21:08:32 +0000 (21:08 +0000)] 
patch 9.1.1844: Makefile: dependencies not updated

Problem:  Makefile: dependencies not updated
          (Hirohito Higashi)
Solution: Update Dependencies after v9.1.1841

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(filetype): Improve filetype loading time
bennyyip [Thu, 9 Oct 2025 20:24:35 +0000 (20:24 +0000)] 
runtime(filetype): Improve filetype loading time

closes: #18508

Signed-off-by: bennyyip <yebenmy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1843: tests: Test_search_stat_option() may fail on slow systems v9.1.1843
James McCoy [Thu, 9 Oct 2025 20:15:34 +0000 (20:15 +0000)] 
patch 9.1.1843: tests: Test_search_stat_option() may fail on slow systems

Problem:  tests: Test_search_stat_option() may fail on slow systems
Solution: test_search_stat: Extend searchcount() timeout if the test is
          being re-run due to flakiness (James McCoy).

closes: #18524

Signed-off-by: James McCoy <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): Add reference to 'wildoptions' in fuzzy-matching docs
Yee Cheng Chin [Thu, 9 Oct 2025 20:09:56 +0000 (20:09 +0000)] 
runtime(doc): Add reference to 'wildoptions' in fuzzy-matching docs

The docs for fuzzy matching seems to try to list every possible use
case, but misses this one. It's a good idea to be consistent.

closes: #18525

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1842: MS-Windows: build failure when mzscheme is included v9.1.1842
Hirohito Higashi [Thu, 9 Oct 2025 19:59:48 +0000 (19:59 +0000)] 
patch 9.1.1842: MS-Windows: build failure when mzscheme is included

Problem:  MS-Windows: build failure when mzscheme is included
          (dertuxmalwieder, after v9.1.1838)
Solution: skip specific section when PROTO is defined
          (Hirohito Higashi)

fixes: #18529
closes: #18530

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc,vim): Update base syntax, match full :syntime command
Doug Kearns [Thu, 9 Oct 2025 19:39:57 +0000 (19:39 +0000)] 
runtime(doc,vim): Update base syntax, match full :syntime command

- Use the optional tail command-name spec at :help :syntime.
- Match full :syntime command and highlight args.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(vim): fix indentation after `:registers +`
lacygoill [Thu, 9 Oct 2025 19:37:45 +0000 (19:37 +0000)] 
runtime(vim): fix indentation after `:registers +`

closes: #18528

Signed-off-by: lacygoill <lacygoill@lacygoill.me>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1841: patch 9.1.1840 adds python build dependency v9.1.1841
Hirohito Higashi [Thu, 9 Oct 2025 19:14:55 +0000 (19:14 +0000)] 
patch 9.1.1841: patch 9.1.1840 adds python build dependency

Problem:  patch 9.1.1840 adds python build dependency
          (chdizza)
Solution: Update dependencies (Hirohito Higashi)

fixes: #18523
related: #18045
closes: #18527

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1840: Generating prototype files does not work on all platforms v9.1.1840
Hirohito Higashi [Wed, 8 Oct 2025 18:31:13 +0000 (18:31 +0000)] 
patch 9.1.1840: Generating prototype files does not work on all platforms

Problem:  Generating prototype files does not work on all platforms
Solution: Rework prototypes generation using python instead of cproto,
          enable it in CI to test it for each PR (Hirohito Higashi).

closes: #18045

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(vim): Update base syntax, allow legacy script comments after :eval
Doug Kearns [Wed, 8 Oct 2025 18:22:23 +0000 (18:22 +0000)] 
runtime(vim): Update base syntax, allow legacy script comments after :eval

closes: #18522

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(termdebug): Add remote debugging capabilities
Miguel Barro [Wed, 8 Oct 2025 18:15:51 +0000 (18:15 +0000)] 
runtime(termdebug): Add remote debugging capabilities

closes: #18429

Co-authored-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Miguel Barro <miguel.barro@live.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(java): Fold adjacent "import" declarations
Aliaksei Budavei [Wed, 8 Oct 2025 16:45:28 +0000 (16:45 +0000)] 
runtime(java): Fold adjacent "import" declarations

Also, distinguish (by abbreviating their names) and manage
foldable kinds of syntax items: blocks of code ("b"), plain
comments ("c"), Javadoc comments ("d"), adjacent "import"
declarations ("i").  Fold all qualifying items by default;
otherwise, do not fold items of explicitly delisted kinds.
For example,
------------------------------------------------------------
let g:java_ignore_folding = "bcdi"
------------------------------------------------------------

Resolves zzzyxwvut/java-vim#12.

closes: #18492

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(colors): Update colorscheme and add TitleBar/TitleBarNC
Maxim Kim [Wed, 8 Oct 2025 16:28:23 +0000 (16:28 +0000)] 
runtime(colors): Update colorscheme and add TitleBar/TitleBarNC

closes: #18513

Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1839: Window may have wrong height if resized from another tabpage v9.1.1839
zeertzjq [Wed, 8 Oct 2025 16:26:04 +0000 (16:26 +0000)] 
patch 9.1.1839: Window may have wrong height if resized from another tabpage

Problem:  Window may have wrong height if resized from another tabpage.
Solution: Improve check for whether a tabline has been added (zeertzjq).

fixes: #18518
closes: #18519

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1838: proto files out of sync v9.1.1838
Hirohito Higashi [Wed, 8 Oct 2025 16:23:22 +0000 (16:23 +0000)] 
patch 9.1.1838: proto files out of sync

Problem:  proto files out of sync
Solution: Update proto files (Hirohito Higashi)

closes: #18517

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): Normalise ellipsis dots in syntax.txt
Doug Kearns [Wed, 8 Oct 2025 16:20:23 +0000 (16:20 +0000)] 
runtime(doc): Normalise ellipsis dots in syntax.txt

Use three dots rather than two.

closes: #18521

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1837: tests: Test_plugin_evaluate_in_popup() fails on 32bit v9.1.1837
Christian Brabandt [Tue, 7 Oct 2025 20:56:51 +0000 (20:56 +0000)] 
patch 9.1.1837: tests: Test_plugin_evaluate_in_popup() fails on 32bit

Problem:  tests: Test_plugin_evaluate_in_popup() fails on 32bit arch
          (James McCoy)
Solution: Instead of evaluating the ptr, let's evaluate just the pointer
          content, skipping printing the pointer address.

fixes: #18499
closes: #18503

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1836: 'culopt' "screenline" not redrawn with line("w0") and :retab v9.1.1836
zeertzjq [Tue, 7 Oct 2025 20:53:48 +0000 (20:53 +0000)] 
patch 9.1.1836: 'culopt' "screenline" not redrawn with line("w0") and :retab

Problem:  'cursorlineopt' "screenline" isn't redrawn when moving cursor
          and then using line("w0") and :retab that does nothing.
Solution: Call redraw_for_cursorcolumn() when setting a valid w_virtcol
          (zeertzjq).

closes: #18506

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1835: completion: not possible to style popup borders globally v9.1.1835
Girish Palya [Tue, 7 Oct 2025 20:43:06 +0000 (20:43 +0000)] 
patch 9.1.1835: completion: not possible to style popup borders globally

Problem:  not possible to style popup borders globally
Solution: Add the 'pumborder' option (Girish Palya)

This commit introduces a new global option, 'pumborder' ('pb'), that
allows users to define borders and optional decorations for the
completion popup menu.

```
Defines a border and optional decorations for the popup menu in
completion.  The value is a comma-separated list of keywords.

Border styles (at most one):
"single"singleuse thin box-drawing characters
"double"doubleuse double-line box-drawing characters
"round"rounduse rounded corners
"ascii"asciiuse ASCII characters (-, |, +)
"custom:XXXXXXXX"
    use eight characters given after "custom:",
    in order: top, right, bottom, left,
    topleft, topright, botright, botleft

Additional flags:
"margin"marginadds one-cell spacing inside the left and right border
"shadow"shadowdraws a shadow at the right and bottom edges

Highlight groups:
|hl-PmenuBorder|hl-PmenuBorderused for the border characters
|hl-PmenuShadow|hl-PmenuShadowused for the shadow

Examples: >
  :set pumborder=single
  :set pumborder=double,margin,shadow
  :set pumborder=custom:─│─│┌┐┘└,shadow

Border styles using box-drawing characters ("single", "double",
"round") are only available when |'encoding'| is "utf-8" and
|'ambiwidth'| is "single".  "margin" requires a border style.
See also: |ins-completion-menu|.
```

fixes: https://github.com/vim/vim/pull/18441#issuecomment-3360188458
closes: #18486
closes: #17091

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1834: MS-Windows: not possible to highlight the title bar v9.1.1834
Mao-Yining [Tue, 7 Oct 2025 19:31:22 +0000 (19:31 +0000)] 
patch 9.1.1834: MS-Windows: not possible to highlight the title bar

Problem:  MS-Windows: not possible to highlight the title bar
Solution: Make the title/caption bar configurable by introducing the
          'go-C' option value which allows to highlight it using the
          TitleBar and TitleBarNC highlighting groups (Mao-Yining).

Introduce titlebar color customization for Windows 11 GUI through
highlight groups and new 'guioptions' flag:

- Add 'C' flag to enable titlebar color customization (opt-in)
- New highlight groups: TitleBar (active) and TitleBarNC (inactive)
- Uses DWMWA_CAPTION_COLOR and DWMWA_TEXT_COLOR DWM attributes
- Dynamically loads dwmapi.dll for Windows 11 compatibility
- Defaults to system colors when set to NONE or feature disabled

closes: #18449

Signed-off-by: Mao-Yining <mao.yining@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): Fix typos in syntax.txt
Elijah Greenstein [Tue, 7 Oct 2025 19:22:05 +0000 (19:22 +0000)] 
runtime(doc): Fix typos in syntax.txt

closes: #18504

Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Elijah Greenstein <197816462+elijahgreenstein@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation(ru): updated Vim manpages
RestorerZ [Tue, 7 Oct 2025 19:19:43 +0000 (19:19 +0000)] 
translation(ru): updated Vim manpages

closes: #18511

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation(ru): Updated message file
RestorerZ [Tue, 7 Oct 2025 19:16:18 +0000 (19:16 +0000)] 
translation(ru): Updated message file

closes: #18512

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation(it): Update Italian translation
Antonio Giovanni Colombo [Tue, 7 Oct 2025 19:03:12 +0000 (19:03 +0000)] 
translation(it): Update Italian translation

Signed-off-by: Antonio Giovanni Colombo <azc100@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(tex): link some tex highlight groups to new standard ones
Christian Brabandt [Tue, 7 Oct 2025 18:57:33 +0000 (18:57 +0000)] 
runtime(tex): link some tex highlight groups to new standard ones

fixes: #18505

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agotranslation: regenerate po/vim.pot after a644b7924d
Christian Brabandt [Mon, 6 Oct 2025 19:11:38 +0000 (19:11 +0000)] 
translation: regenerate po/vim.pot after a644b7924d

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1833: completion: fuzzy candidates are not sorted v9.1.1833
Girish Palya [Mon, 6 Oct 2025 19:06:02 +0000 (19:06 +0000)] 
patch 9.1.1833: completion: fuzzy candidates are not sorted

Problem:  completion: fuzzy candidates are not sorted
          (ddad431)
Solution: Always sort fuzzy candidates (Girish Palya)

fixes: #18488
closes: #18497

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): Update sections 5 to 8 in vim9.txt
Peter Kenny [Mon, 6 Oct 2025 18:31:45 +0000 (18:31 +0000)] 
runtime(doc): Update sections 5 to 8 in vim9.txt

closes: #18350

Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Peter Kenny <github.com@k1w1.cyou>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1832: if_perl: contains references to legacy if_perlsfio v9.1.1832
Hirohito Higashi [Mon, 6 Oct 2025 17:59:10 +0000 (17:59 +0000)] 
patch 9.1.1832: if_perl: contains references to legacy if_perlsfio

Problem:  if_perl: contains references to legacy if_perlsfio.{c,pro} and
          USE_SFIO
Solution: Remove those references (Hirohito Higashi)

fixes: #18496
closes: #18500

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(zip): add *.pkpass to list of zip extensions
MultisampledNight [Mon, 6 Oct 2025 17:56:20 +0000 (17:56 +0000)] 
runtime(zip): add *.pkpass to list of zip extensions

Similar to a359c9c25e5c3c1e543fc720223aa7256e6f72cf.
See https://developer.apple.com/documentation/walletpasses/building-a-pass#Sign-the-Pass-and-Create-the-Bundle,
which explicitly mentions that pkpasses are just renamed ZIPs.

closes: #18501

Signed-off-by: MultisampledNight <contact@multisamplednight.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(kerml): update KerML comments to handle more cases
Daumantas Kavolis [Mon, 6 Oct 2025 17:52:40 +0000 (17:52 +0000)] 
runtime(kerml): update KerML comments to handle more cases

closes: #18502

Signed-off-by: Daumantas Kavolis <daumantas.kavolis@sensmetry.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): fix typo in :h credits section
Christian Brabandt [Sun, 5 Oct 2025 18:36:39 +0000 (18:36 +0000)] 
runtime(doc): fix typo in :h credits section

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1831: stray vseps in right-most 'winfixwidth' window v9.1.1831
Sean Dewar [Sun, 5 Oct 2025 17:00:58 +0000 (17:00 +0000)] 
patch 9.1.1831: stray vseps in right-most 'winfixwidth' window

Problem:  vertical separator of 'winfixwidth' windows may remain if they
          become right-most windows from closing windows to the right.
Solution: Don't implicitly rely on frame_new_width to fix vseps, as the
          call may be skipped for 'winfixwidth' windows to preserve
          their width; do it explicitly in winframe_remove (Sean Dewar).

Note that I prefer win_new_width here over setting w_width directly, which
would've previously been done by win_split_ins after frame_add_vsep, as this
wasn't true for winframe_remove.

Though the equivalent issue of bottom 'winfixheight' windows leaving stray
statuslines with &ls=0 doesn't seem to exist, test it anyway.

closes: #18481

Signed-off-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1830: MS-Windows: Dark mode titlebar is not configurable v9.1.1830
Christian Brabandt [Sun, 5 Oct 2025 16:51:27 +0000 (16:51 +0000)] 
patch 9.1.1830: MS-Windows: Dark mode titlebar is not configurable

Problem:  MS-Windows: Dark mode titlebar is not configurable
          (after v9.1.1813)
Solution: Revert patch v9.1.1813

Revert "patch 9.1.1813: MS-Windows: title bar is always white"
This reverts commit dddde9ce123c665e27faccbcb368ca9e88ed18ed.

related: #18282

Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1829: filetype: KerML and SysML files are not recognized v9.1.1829
Daumantas Kavolis [Sun, 5 Oct 2025 13:37:00 +0000 (13:37 +0000)] 
patch 9.1.1829: filetype: KerML and SysML files are not recognized

Problem:  filetype: KerML and SysML files are not recognized
Solution: Detect *.kerml as kerml filetype, detect *.sysml as sysml
          filetype, include a kerml and sysml filetype plugin
          (Daumantas Kavolis)

closes: #18476

Signed-off-by: Daumantas Kavolis <daumantas.kavolis@sensmetry.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1828: local variables shadowed by import names v9.1.1828
thinca [Sun, 5 Oct 2025 13:27:26 +0000 (13:27 +0000)] 
patch 9.1.1828: local variables shadowed by import names

Problem:  local variables shadowed by import names
Solution: Check if a local variable exists before handling imports
          (thinca)

closes: #18480

Signed-off-by: thinca <thinca@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1827: completion: v9.1.1797 broke Ctrl-Y behaviour v9.1.1827
Girish Palya [Sun, 5 Oct 2025 13:14:10 +0000 (13:14 +0000)] 
patch 9.1.1827: completion: v9.1.1797 broke Ctrl-Y behaviour

Problem:  completion: v9.1.1797 broke Ctrl-Y behaviour
          (ddad431, after v9.1.1797)
Solution: Restore correct behaviour (Girish Palya).

closes: #18494

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agoruntime(doc): Use the optional tail command-name spec at :help :sign
Doug Kearns [Sun, 5 Oct 2025 13:11:26 +0000 (13:11 +0000)] 
runtime(doc): Use the optional tail command-name spec at :help :sign

closes: #18489

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
4 weeks agopatch 9.1.1826: Patch v9.1.1230 causes confusion about Ctrl-C behaviour v9.1.1826
Christian Brabandt [Sun, 5 Oct 2025 13:00:11 +0000 (13:00 +0000)] 
patch 9.1.1826: Patch v9.1.1230 causes confusion about Ctrl-C behaviour

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

fixes: #17266

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

closes: #18468

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

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

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

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

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

closes: #18468

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

closes: #18485

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

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

closes: #18483

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

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

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

related: #18437
closes: #18484

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

related: #10513

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

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

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

closes: #18479

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

Match Vim9 return types in builtin function specifications.

closes: #18477

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

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

closes: #18474

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

closes: #18470

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

related: #18469

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

related: #18469

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

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

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

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

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

What doesn't work:

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

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

fixes: #18271
closes: #18274

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

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

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

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

fixes: #18443
closes: #18460

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

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

closes: #18365

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

related: #18452

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

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

Update to the macos-15-intel runner.

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

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

closes: #18471

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

related: #18463
closes: #18457

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

This fixes a few issues introduced in commit 3495936:

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

closes: #18469

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

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

closes: #18467

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

closes: #18466

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

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

fixes: #18437

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

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

closes: #18452

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

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

Add :command to the generator exclusion list.

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

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

closes: #18446

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

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

This change does the following:

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

closes: #18441

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

closes: #18456

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

This updates the new tutor with the changes from commit
b87f133b0724f7328e7dd41dd611af67f4ae3e39

closes: #18461

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

closes: #18462

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

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

closes: #18463

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

fixes: #18421
closes: #18464

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

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

related: #5713
closes: #18447

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

closes: #18458

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

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

closes: #18454

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

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

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

fixes: #18450

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

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

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

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

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

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

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

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

There are two possible fixes:

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

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

closes: #18439

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

related: #18423

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

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

closes: #18419

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

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

closes: #18430

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

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

closes: #18432

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

closes: #18436

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

closes: #18440

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

related: #18440

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

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

related: #18440

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

related: #18440

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

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

closes: #18433

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

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

closes: #18434

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

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

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

related: #18434

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

fixes: #18435

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