diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-07-09 14:43:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-07-09 14:43:18 +1200 |
commit | bc1b7b971999f1dcb4d62eb149bafc703626dc68 (patch) | |
tree | 8a7f7a63b96624ef6f3fd991d58450ce68dbe7b4 | |
parent | Merge branch 'release/v6.53.0' into develop (diff) | |
download | dotfiles-bc1b7b971999f1dcb4d62eb149bafc703626dc68.tar.gz dotfiles-bc1b7b971999f1dcb4d62eb149bafc703626dc68.zip |
Explain a parameter to a command function
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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> ==# '!') |