diff options
| author | Mitermayer Reis <mitermayer.reis@gmail.com> | 2018-02-01 10:27:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-02-01 10:27:08 -0800 |
| commit | 47725438ed3fcb5ecf487436dfad111457f773a6 (patch) | |
| tree | e74082b33770c7238b9d9b77031ed864a849f356 /autoload/prettier.vim | |
| parent | 8e2dc1fd2d71c7b1b82b3728e27b7a3bf044a453 (diff) | |
| parent | 7de9c20a0ba3b2884ab35fdde68ef33589fd55d3 (diff) | |
| download | vim-prettier-47725438ed3fcb5ecf487436dfad111457f773a6.tar.xz | |
Merge pull request #110 from nelsyeung/master
Fix #108 spaces in executable path problem
Diffstat (limited to 'autoload/prettier.vim')
| -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 |
