aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-29 01:27:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-29 01:28:22 +1200
commit0855a2543d5e8d48522d6b52c43bd7d72fe02ea7 (patch)
treecfd84868141d9fd414a0f7254050ae6fbc2c1cf3
parentRemove unneeded variable scoping (diff)
downloadvim-shebang-create-exec-0855a2543d5e8d48522d6b52c43bd7d72fe02ea7.tar.gz
vim-shebang-create-exec-0855a2543d5e8d48522d6b52c43bd7d72fe02ea7.zip
Improve clarity of comment
-rw-r--r--autoload/shebang_create_exec.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/shebang_create_exec.vim b/autoload/shebang_create_exec.vim
index a69600a..8ae659e 100644
--- a/autoload/shebang_create_exec.vim
+++ b/autoload/shebang_create_exec.vim
@@ -70,7 +70,7 @@ function! s:MakeExecutable(filename) abort
else
" We'll need to fork to chmod(1); escape the filename safely, using
- " shellescape() if we've got it
+ " shellescape() if we've got it, or manual UNIX sh quoting if not
let filename_escaped = exists('*shellescape')
\ ? shellescape(filename)
\ : '''' . escape(filename, '''') . ''''