Merge pull request #30207 from zeertzjq/vim-7c8bbc6

vim-patch: doc updates
This commit is contained in:
zeertzjq
2024-09-01 06:53:13 +08:00
committed by GitHub
2 changed files with 6 additions and 3 deletions

View File

@@ -1381,10 +1381,12 @@ completion can be enabled:
-complete=arglist file names in argument list -complete=arglist file names in argument list
-complete=augroup autocmd groups -complete=augroup autocmd groups
-complete=breakpoint |:breakadd| suboptions
-complete=buffer buffer names -complete=buffer buffer names
-complete=color color schemes -complete=color color schemes
-complete=command Ex command (and arguments) -complete=command Ex command (and arguments)
-complete=compiler compilers -complete=compiler compilers
-complete=diff_buffer diff buffer names
-complete=dir directory names -complete=dir directory names
-complete=dir_in_path directory names in |'cdpath'| -complete=dir_in_path directory names in |'cdpath'|
-complete=environment environment variable names -complete=environment environment variable names
@@ -1396,7 +1398,7 @@ completion can be enabled:
-complete=function function name -complete=function function name
-complete=help help subjects -complete=help help subjects
-complete=highlight highlight groups -complete=highlight highlight groups
-complete=history :history suboptions -complete=history |:history| suboptions
-complete=keymap keyboard mappings -complete=keymap keyboard mappings
-complete=locale locale names (as output of locale -a) -complete=locale locale names (as output of locale -a)
-complete=lua Lua expression |:lua| -complete=lua Lua expression |:lua|
@@ -1406,6 +1408,8 @@ completion can be enabled:
-complete=messages |:messages| suboptions -complete=messages |:messages| suboptions
-complete=option options -complete=option options
-complete=packadd optional package |pack-add| names -complete=packadd optional package |pack-add| names
-complete=runtime file and directory names in |'runtimepath'|
-complete=scriptnames sourced script names
-complete=shellcmd Shell command -complete=shellcmd Shell command
-complete=sign |:sign| suboptions -complete=sign |:sign| suboptions
-complete=syntax syntax file names |'syntax'| -complete=syntax syntax file names |'syntax'|

View File

@@ -152,8 +152,7 @@ add a few items or change the highlighting, follow these steps:
1. Create your user directory from 'runtimepath', see above. 1. Create your user directory from 'runtimepath', see above.
2. Create a directory in there called "after/syntax". For Unix: > 2. Create a directory in there called "after/syntax". For Unix: >
mkdir ~/.config/nvim/after mkdir -p ~/.config/nvim/after/syntax
mkdir ~/.config/nvim/after/syntax
3. Write a Vim script that contains the commands you want to use. For 3. Write a Vim script that contains the commands you want to use. For
example, to change the colors for the C syntax: > example, to change the colors for the C syntax: >