From 797f52433722adfc3bd34c12e0156eee120ff384 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 1 Sep 2024 06:28:09 +0800 Subject: [PATCH 1/2] vim-patch:7c8bbc6: runtime(doc): use mkdir -p to save a command closes: vim/vim#15599 https://github.com/vim/vim/commit/7c8bbc6d28387e5c73f049663ace0c3829f9e128 Co-authored-by: Ughur Alakbarov <58857108+ugur-a@users.noreply.github.com> (cherry picked from commit 5f81c369344108b4bdcc2d1460ef25b49d9b463f) --- runtime/doc/syntax.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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: > From b5a2d52a367eca9ae05b1df28ce4043bd462e934 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 1 Sep 2024 06:29:02 +0800 Subject: [PATCH 2/2] vim-patch:e2c4e07: runtime(doc): Update :help :command-complete list closes: vim/vim#15602 https://github.com/vim/vim/commit/e2c4e07795e3080d3fe2792f1db21ad7925eef58 Co-authored-by: Doug Kearns (cherry picked from commit 751ab0e4ca15bf9ec3ea6262ea1bbbcc7bd5df80) --- runtime/doc/map.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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'|