mirror of
https://github.com/google/vim-jsonnet.git
synced 2026-01-21 01:51:05 +01:00
Merge pull request #5 from ahakanbaba/master
Fix a E121: Undefined variable: error
This commit is contained in:
commit
ff255a3ac4
@ -43,8 +43,10 @@ function! jsonnet#CheckBinPath(binName)
|
||||
if executable(a:binName)
|
||||
if exists('*exepath')
|
||||
let binPath = exepath(a:binName)
|
||||
return binPath
|
||||
else
|
||||
return a:binName
|
||||
endif
|
||||
return binPath
|
||||
else
|
||||
echo "vim-jsonnet: could not find '" . a:binName . "'."
|
||||
return ""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user