1
- *version9.txt* For Vim version 9.1. Last change: 2025 Mar 21
1
+ *version9.txt* For Vim version 9.1. Last change: 2025 Mar 27
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41553,6 +41553,16 @@ Enum support for Vim9 script |:enum|
41553
41553
41554
41554
Support for protected _new() method
41555
41555
41556
+ Diff mode ~
41557
+ ---------
41558
+ Include the "linematch" algorithm for the 'diffopt' setting. This aligns
41559
+ changes between buffers on similar lines improving the diff highlighting in
41560
+ Vim
41561
+
41562
+ Improve the diff highlighting for changes within a line. Configurable using
41563
+ the "inline" sub option value for the 'diffopt' setting, with "inline:simple"
41564
+ being added to the default "diffopt" value (but this does not change how diff
41565
+ mode works).
41556
41566
*new-other-9.2*
41557
41567
Other new features ~
41558
41568
------------------
@@ -41570,9 +41580,7 @@ Support highlighting the matched text and the completion kind for insert-mode
41570
41580
completion and command-line completion in |ins-completion-menu|, see
41571
41581
|complete-items|
41572
41582
41573
- Include the "linematch" algorithm for the 'diffopt' setting. This aligns
41574
- changes between buffers on similar lines improving the diff highlighting in
41575
- Vim
41583
+ Support for the |Tuple| data type in Vim script and Vim9 script.
41576
41584
41577
41585
*changed-9.2*
41578
41586
Changed~
@@ -41588,7 +41596,6 @@ Default values: ~
41588
41596
- the default value of the 'keyprotocol' option has been updated and support
41589
41597
for the ghostty terminal emulator (using kitty protocol) has been added
41590
41598
41591
-
41592
41599
Completion: ~
41593
41600
- allow to complete directories from 'cdpath' for |:cd| and similar commands,
41594
41601
add the "cd_in_path" completion type for e.g. |:command-complete| and
@@ -41620,6 +41627,7 @@ Options: ~
41620
41627
- 'rulerformat' now supports the |stl-%!| item
41621
41628
- use 'smoothscroll' logic for CTRL-F / CTRL-B for pagewise scrolling
41622
41629
and CTRL-D / CTRL-U for half-pagewise scrolling
41630
+ - 'pummaxwidth' maximum width for the completion popup menu
41623
41631
41624
41632
Ex commands: ~
41625
41633
- allow to specify a priority when defining a new sign |:sign-define|
@@ -41677,11 +41685,14 @@ Functions: ~
41677
41685
|getstacktrace()| get current stack trace of Vim scripts
41678
41686
|id()| get unique identifier for a Dict, List, Object,
41679
41687
Channel or Blob variable
41688
+ |list2tuple()| turn a List of items into a Tuple
41680
41689
|matchbufline()| all the matches of a pattern in a buffer
41681
41690
|matchstrlist()| all the matches of a pattern in a List of strings
41682
41691
|ngettext()| lookup single/plural message translation
41683
41692
|popup_setbuf()| switch to a different buffer in a popup
41684
41693
|str2blob()| convert a List of strings into a blob
41694
+ |test_null_tuple()| return a null tuple
41695
+ |tuple2list()| turn a Tuple of items into a List
41685
41696
41686
41697
41687
41698
Autocommands: ~
@@ -41697,7 +41708,8 @@ Autocommands: ~
41697
41708
41698
41709
Highlighting: ~
41699
41710
41700
- |hl-ComplMatchIns| matched text of the currently inserted completion.
41711
+ |hl-ComplMatchIns| matched text of the currently inserted completion
41712
+ |hl-DiffTextAdd| added text within a changed line
41701
41713
|hl-MsgArea| highlighting of the Command-line and messages area
41702
41714
|hl-PmenuMatch| Popup menu: highlighting of matched text
41703
41715
|hl-PmenuMatchSel| Popup menu: highlighting of matched text in selected
0 commit comments