Diff to HTML by rtfpessoa

Files changed (5) hide show
  1. runtime/doc/builtin.txt +14 -2
  2. runtime/doc/insert.txt +4 -4
  3. runtime/doc/map.txt +3 -1
  4. runtime/doc/usr_41.txt +2 -0
  5. runtime/doc/version9.txt +4 -1
runtime/doc/builtin.txt CHANGED
@@ -1,4 +1,4 @@
1
- *builtin.txt* For Vim version 9.1. Last change: 2024 Sep 23
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -230,6 +230,8 @@ getcharmod() Number modifiers for the last typed character
230
  getcharpos({expr}) List position of cursor, mark, etc.
231
  getcharsearch() Dict last character search
232
  getcharstr([{expr}]) String get one character from the user
 
 
233
  getcmdcompltype() String return the type of the current
234
  command-line completion
235
  getcmdline() String return the current command-line input
@@ -3973,6 +3975,16 @@ getcharstr([{expr}]) *getcharstr()*
3973
 
3974
  Return type: |String|
3975
 
 
 
 
 
 
 
 
 
 
 
3976
 
3977
  getcmdcompltype() *getcmdcompltype()*
3978
  Return the type of the current command-line completion.
@@ -3980,7 +3992,7 @@ getcmdcompltype() *getcmdcompltype()*
3980
  requires use of |c_CTRL-\_e| or |c_CTRL-R_=|.
3981
  See |:command-completion| for the return string.
3982
  Also see |getcmdtype()|, |setcmdpos()|, |getcmdline()|,
3983
- |getcmdprompt()| and |setcmdline()|.
3984
  Returns an empty string when completion is not defined.
3985
 
3986
  Return type: |String|
1
+ *builtin.txt* For Vim version 9.1. Last change: 2024 Oct 08
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
230
  getcharpos({expr}) List position of cursor, mark, etc.
231
  getcharsearch() Dict last character search
232
  getcharstr([{expr}]) String get one character from the user
233
+ getcmdcomplpat() String return the completion pattern of the
234
+ current command-line completion
235
  getcmdcompltype() String return the type of the current
236
  command-line completion
237
  getcmdline() String return the current command-line input
3975
 
3976
  Return type: |String|
3977
 
3978
+ getcmdcomplpat() *getcmdcomplpat()*
3979
+ Return completion pattern of the current command-line.
3980
+ Only works when the command line is being edited, thus
3981
+ requires use of |c_CTRL-\_e| or |c_CTRL-R_=|.
3982
+ Also see |getcmdtype()|, |setcmdpos()|, |getcmdline()|,
3983
+ |getcmdprompt()|, |getcmdcompltype()| and |setcmdline()|.
3984
+ Returns an empty string when completion is not defined.
3985
+
3986
+ Return type: |String|
3987
+
3988
 
3989
  getcmdcompltype() *getcmdcompltype()*
3990
  Return the type of the current command-line completion.
3992
  requires use of |c_CTRL-\_e| or |c_CTRL-R_=|.
3993
  See |:command-completion| for the return string.
3994
  Also see |getcmdtype()|, |setcmdpos()|, |getcmdline()|,
3995
+ |getcmdprompt()|, |getcmdcomplpat()| and |setcmdline()|.
3996
  Returns an empty string when completion is not defined.
3997
 
3998
  Return type: |String|
runtime/doc/insert.txt CHANGED
@@ -1,4 +1,4 @@
1
- *insert.txt* For Vim version 9.1. Last change: 2024 Aug 25
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -51,7 +51,7 @@ char action ~
51
  abbreviation.
52
  Note: If your <Esc> key is hard to hit on your keyboard, train
53
  yourself to use CTRL-[.
54
- If Esc doesn't work and you are using a Mac, try CTRL-Esc.
55
  Or disable Listening under Accessibility preferences.
56
  *i_CTRL-C*
57
  CTRL-C Quit insert mode, go back to Normal mode. Do not check for
@@ -1183,12 +1183,12 @@ items:
1183
  user_data custom data which is associated with the item and
1184
  available in |v:completed_item|; it can be any type;
1185
  defaults to an empty string
1186
- hl_group an additional highlight group whose attributes are
1187
  combined with |hl-PmenuSel| and |hl-Pmenu| or
1188
  |hl-PmenuMatchSel| and |hl-PmenuMatch| highlight
1189
  attributes in the popup menu to apply cterm and gui
1190
  properties (with higher priority) like strikethrough
1191
- to the completion items
1192
  kind_hlgroup an additional highlight group specifically for setting
1193
  the highlight attributes of the completion kind. When
1194
  this field is present, it will override the
1
+ *insert.txt* For Vim version 9.1. Last change: 2024 Oct 08
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
51
  abbreviation.
52
  Note: If your <Esc> key is hard to hit on your keyboard, train
53
  yourself to use CTRL-[.
54
+ If Esc doesn't work and you are using a Mac, try CTRL-<Esc>.
55
  Or disable Listening under Accessibility preferences.
56
  *i_CTRL-C*
57
  CTRL-C Quit insert mode, go back to Normal mode. Do not check for
1183
  user_data custom data which is associated with the item and
1184
  available in |v:completed_item|; it can be any type;
1185
  defaults to an empty string
1186
+ abbr_hlgroup an additional highlight group whose attributes are
1187
  combined with |hl-PmenuSel| and |hl-Pmenu| or
1188
  |hl-PmenuMatchSel| and |hl-PmenuMatch| highlight
1189
  attributes in the popup menu to apply cterm and gui
1190
  properties (with higher priority) like strikethrough
1191
+ to the completion items abbreviation
1192
  kind_hlgroup an additional highlight group specifically for setting
1193
  the highlight attributes of the completion kind. When
1194
  this field is present, it will override the
runtime/doc/map.txt CHANGED
@@ -1,4 +1,4 @@
1
- *map.txt* For Vim version 9.1. Last change: 2024 Oct 07
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1657,6 +1657,8 @@ completion can be enabled:
1657
  -complete=runtime file and directory names in |'runtimepath'|
1658
  -complete=scriptnames sourced script names
1659
  -complete=shellcmd Shell command
 
 
1660
  -complete=sign |:sign| suboptions
1661
  -complete=syntax syntax file names |'syntax'|
1662
  -complete=syntime |:syntime| suboptions
1
+ *map.txt* For Vim version 9.1. Last change: 2024 Oct 08
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
1657
  -complete=runtime file and directory names in |'runtimepath'|
1658
  -complete=scriptnames sourced script names
1659
  -complete=shellcmd Shell command
1660
+ -complete=shellcmdline First is a shell command and subsequent ones
1661
+ are filenames. The same behavior as |:!cmd|
1662
  -complete=sign |:sign| suboptions
1663
  -complete=syntax syntax file names |'syntax'|
1664
  -complete=syntime |:syntime| suboptions
runtime/doc/usr_41.txt CHANGED
@@ -1068,6 +1068,8 @@ Buffers, windows and the argument list:
1068
  swapname() get the swap file path of a buffer
1069
 
1070
  Command line: *command-line-functions*
 
 
1071
  getcmdcompltype() get the type of the current command line
1072
  completion
1073
  getcmdline() get the current command line input
1068
  swapname() get the swap file path of a buffer
1069
 
1070
  Command line: *command-line-functions*
1071
+ getcmdcomplpat() get completion pattern of the current command
1072
+ line
1073
  getcmdcompltype() get the type of the current command line
1074
  completion
1075
  getcmdline() get the current command line input
runtime/doc/version9.txt CHANGED
@@ -1,4 +1,4 @@
1
- *version9.txt* For Vim version 9.1. Last change: 2024 Oct 05
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
@@ -41589,6 +41589,8 @@ Changed~
41589
  - allow to complete directories from 'cdpath' for |:cd| and similar commands,
41590
  add the "cd_in_path" completion type for e.g. |:command-complete| and
41591
  |getcompletion()|
 
 
41592
  - add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi
41593
  behaviour/inconsistency (see |d-special| and |cw|).
41594
  - allow to specify additional attributes in the completion menu (allows to
@@ -41608,6 +41610,7 @@ Functions: ~
41608
  |diff()| diff two Lists of strings
41609
  |filecopy()| copy a file {from} to {to}
41610
  |foreach()| apply function to List items
 
41611
  |getcmdprompt()| get prompt for input()/confirm()
41612
  |getregion()| get a region of text from a buffer
41613
  |getregionpos()| get a list of positions for a region
1
+ *version9.txt* For Vim version 9.1. Last change: 2024 Oct 08
2
 
3
 
4
  VIM REFERENCE MANUAL by Bram Moolenaar
41589
  - allow to complete directories from 'cdpath' for |:cd| and similar commands,
41590
  add the "cd_in_path" completion type for e.g. |:command-complete| and
41591
  |getcompletion()|
41592
+ - allow to complete shell commands and files using the new shellcmdline
41593
+ completion type using |:command-complete| and |getcmdcomplpat()|
41594
  - add 'cpoptions' flag "z" |cpo-z|, to disable some (traditional) vi
41595
  behaviour/inconsistency (see |d-special| and |cw|).
41596
  - allow to specify additional attributes in the completion menu (allows to
41610
  |diff()| diff two Lists of strings
41611
  |filecopy()| copy a file {from} to {to}
41612
  |foreach()| apply function to List items
41613
+ |getcmdcomplpat()| Shell command line completion
41614
  |getcmdprompt()| get prompt for input()/confirm()
41615
  |getregion()| get a region of text from a buffer
41616
  |getregionpos()| get a list of positions for a region