diff options
| author | Nelson Yeung <nelsyeung@icloud.com> | 2018-01-31 23:21:44 +0000 |
|---|---|---|
| committer | Nelson Yeung <nelsyeung@icloud.com> | 2018-01-31 23:21:44 +0000 |
| commit | 7de9c20a0ba3b2884ab35fdde68ef33589fd55d3 (patch) | |
| tree | e74082b33770c7238b9d9b77031ed864a849f356 /autoload | |
| parent | 8e2dc1fd2d71c7b1b82b3728e27b7a3bf044a453 (diff) | |
| download | vim-prettier-7de9c20a0ba3b2884ab35fdde68ef33589fd55d3.tar.xz | |
Fix #108 spaces in executable path problem
Diffstat (limited to 'autoload')
| -rw-r--r-- | autoload/prettier.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/autoload/prettier.vim b/autoload/prettier.vim index f1efc32..9d2f074 100644 --- a/autoload/prettier.vim +++ b/autoload/prettier.vim @@ -333,17 +333,17 @@ function! s:Get_Prettier_Exec() abort let l:local_exec = s:Get_Prettier_Local_Exec() if executable(l:local_exec) - return l:local_exec + return fnameescape(l:local_exec) endif let l:global_exec = s:Get_Prettier_Global_Exec() if executable(l:global_exec) - return l:global_exec + return fnameescape(l:global_exec) endif let l:plugin_exec = s:Get_Prettier_Plugin_Exec() if executable(l:plugin_exec) - return l:plugin_exec + return fnameescape(l:plugin_exec) endif return -1 |
