aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-07-09 14:43:28 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-07-09 14:43:28 +1200
commitae069dd60df1e20516f7604d88411bfde7c818bb (patch)
tree6e3f01e466abf22695fc4e2f46bb26a5302326eb /vim
parentMerge branch 'release/v6.53.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-ae069dd60df1e20516f7604d88411bfde7c818bb.tar.gz
dotfiles-ae069dd60df1e20516f7604d88411bfde7c818bb.zip
Merge branch 'release/v6.54.0'v6.54.0
* release/v6.54.0: Explain a parameter to a command function
Diffstat (limited to 'vim')
-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> ==# '!')