diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-09-01 06:53:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-01 06:53:13 +0800 |
commit | f046c3eca62d82078fb53d04e0665fa84f06ecca (patch) | |
tree | f4a3ffc4b4e3089151b585f1c736edb009e99ac6 | |
parent | ea2998fec90ce4666b9b85b2d1a7458e717e2a5a (diff) | |
parent | 751ab0e4ca15bf9ec3ea6262ea1bbbcc7bd5df80 (diff) | |
download | rneovim-f046c3eca62d82078fb53d04e0665fa84f06ecca.tar.gz rneovim-f046c3eca62d82078fb53d04e0665fa84f06ecca.tar.bz2 rneovim-f046c3eca62d82078fb53d04e0665fa84f06ecca.zip |
Merge pull request #30207 from zeertzjq/vim-7c8bbc6
vim-patch: doc updates
-rw-r--r-- | runtime/doc/map.txt | 6 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index e6eb01dae3..3bdf8c1e13 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1381,10 +1381,12 @@ completion can be enabled: -complete=arglist file names in argument list -complete=augroup autocmd groups + -complete=breakpoint |:breakadd| suboptions -complete=buffer buffer names -complete=color color schemes -complete=command Ex command (and arguments) -complete=compiler compilers + -complete=diff_buffer diff buffer names -complete=dir directory names -complete=dir_in_path directory names in |'cdpath'| -complete=environment environment variable names @@ -1396,7 +1398,7 @@ completion can be enabled: -complete=function function name -complete=help help subjects -complete=highlight highlight groups - -complete=history :history suboptions + -complete=history |:history| suboptions -complete=keymap keyboard mappings -complete=locale locale names (as output of locale -a) -complete=lua Lua expression |:lua| @@ -1406,6 +1408,8 @@ completion can be enabled: -complete=messages |:messages| suboptions -complete=option options -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=sign |:sign| suboptions -complete=syntax syntax file names |'syntax'| diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 8037a3bbbc..33df9c7103 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -152,8 +152,7 @@ add a few items or change the highlighting, follow these steps: 1. Create your user directory from 'runtimepath', see above. 2. Create a directory in there called "after/syntax". For Unix: > - mkdir ~/.config/nvim/after - mkdir ~/.config/nvim/after/syntax + mkdir -p ~/.config/nvim/after/syntax 3. Write a Vim script that contains the commands you want to use. For example, to change the colors for the C syntax: > |