aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-07-09 14:43:18 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-07-09 14:43:18 +1200
commitbc1b7b971999f1dcb4d62eb149bafc703626dc68 (patch)
tree8a7f7a63b96624ef6f3fd991d58450ce68dbe7b4
parentMerge branch 'release/v6.53.0' into develop (diff)
downloaddotfiles-bc1b7b971999f1dcb4d62eb149bafc703626dc68.tar.gz
dotfiles-bc1b7b971999f1dcb4d62eb149bafc703626dc68.zip
Explain a parameter to a command function
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 48057f7b..c3f21c03 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -107,7 +107,8 @@ endif
" We need a command to reliably establish a full path, whether or not the
" directories already exist. We create a wrapper for the autoloaded function
" path#Create() with similar calling conventions to mkdir(), but with the ā€˜pā€™
-" value for the second parameter {prot} forced on.
+" value for the second parameter {prot} forced on. Calling it with a bang
+" like :CreatePath! creates a private directory (permissions 0700).
"
command! -bang -bar -complete=dir -nargs=1 CreatePath
\ call path#Create(expand(<q-args>), <q-bang> ==# '!')