aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/syntax.txt
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-09-01 06:28:09 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-09-01 06:28:46 +0800
commit5f81c369344108b4bdcc2d1460ef25b49d9b463f (patch)
treed18ed6a9434b65e1b3245e6809b709d00e7bd4d7 /runtime/doc/syntax.txt
parentea2998fec90ce4666b9b85b2d1a7458e717e2a5a (diff)
downloadrneovim-5f81c369344108b4bdcc2d1460ef25b49d9b463f.tar.gz
rneovim-5f81c369344108b4bdcc2d1460ef25b49d9b463f.tar.bz2
rneovim-5f81c369344108b4bdcc2d1460ef25b49d9b463f.zip
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>
Diffstat (limited to 'runtime/doc/syntax.txt')
-rw-r--r--runtime/doc/syntax.txt3
1 files changed, 1 insertions, 2 deletions
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: >