aboutsummaryrefslogtreecommitdiff
path: root/autoload/prettier.vim
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2017-05-27 23:25:36 -0700
committermitermayer <mitermayer.reis@gmail.com>2017-05-27 23:26:06 -0700
commiteb67ed67d12ede455a1da5d28fb7e8a353187a98 (patch)
tree1cc30acbc0ef1082af1f47d995a3d30ec47f1f66 /autoload/prettier.vim
parent7d16472a244199ec80ba6e8a0b6cb680dcb25a41 (diff)
downloadvim-prettier-eb67ed67d12ede455a1da5d28fb7e8a353187a98.tar.xz
bugfix: fixing bug where prettier installation of the plugin was never
executed
Diffstat (limited to 'autoload/prettier.vim')
-rw-r--r--autoload/prettier.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/prettier.vim b/autoload/prettier.vim
index 14c1e23..37f0a73 100644
--- a/autoload/prettier.vim
+++ b/autoload/prettier.vim
@@ -165,7 +165,7 @@ function! s:Get_Exec(...) abort
let l:rootDir = a:0 > 0 ? a:1 : 0
let l:exec = 0
- if rootDir
+ if isdirectory(rootDir)
let l:dir = s:Tranverse_Dir_Search(rootDir)
if dir != -1
let l:exec = s:Get_Path_To_Exec(dir)