diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 9ec34d5d52..486ae54f4e 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -1380,11 +1380,13 @@ completion can be enabled: -complete=arglist file names in argument list -complete=augroup autocmd groups + -complete=breakpoint |:breakadd| suboptions -complete=buffer buffer names -complete=behave :behave suboptions -complete=color color schemes -complete=command Ex command (and arguments) -complete=compiler compilers + -complete=diff_buffer diff buffer names -complete=dir directory names -complete=environment environment variable names -complete=event autocommand events @@ -1395,7 +1397,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| @@ -1405,6 +1407,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 7b6f86f84f..5aa3a4fd39 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: >