Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback plugins not working #7

Closed
mitermayer opened this issue May 28, 2017 · 0 comments · Fixed by #8
Closed

Fallback plugins not working #7

mitermayer opened this issue May 28, 2017 · 0 comments · Fixed by #8
Assignees
Labels

Comments

@mitermayer
Copy link
Member

In

function! s:Get_Exec(...) abort`
   let l:rootDir = a:0 > 0 ? a:1 : 0 
   let l:exec = 0
 
   if rootDir

should check for directory since vim string comparison is always 0, intead it should be:

function! s:Get_Exec(...) abort`
   let l:rootDir = a:0 > 0 ? a:1 : 0 
   let l:exec = 0
 
   if isdirectory(rootDir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant