Fix check for classpath function
This commit is contained in:
parent
6fefd47170
commit
b139d72da4
@ -1353,7 +1353,7 @@ function! s:leiningen_init() abort
|
|||||||
|
|
||||||
compiler lein
|
compiler lein
|
||||||
|
|
||||||
if exists('classpath#from_vim')
|
if exists('*classpath#from_vim')
|
||||||
let s:leiningen_paths[b:leiningen_root] = classpath#split(classpath#from_vim(&path))
|
let s:leiningen_paths[b:leiningen_root] = classpath#split(classpath#from_vim(&path))
|
||||||
endif
|
endif
|
||||||
call s:leiningen_connect()
|
call s:leiningen_connect()
|
||||||
|
Loading…
Reference in New Issue
Block a user