fix: neovim expand path (#188)
parent
da02d471a9
commit
40d8e039b3
|
|
@ -190,7 +190,7 @@ function! tabby#Start()
|
|||
return
|
||||
endif
|
||||
|
||||
let tabby_root = expand('<sfile>:h:h')
|
||||
let tabby_root = expand('<script>:h:h')
|
||||
let node_script = tabby_root . '/node_scripts/tabby-agent.js'
|
||||
if !filereadable(node_script)
|
||||
let s:errmsg = 'Tabby node script should be download first. Try to run `yarn upgrade-agent`.'
|
||||
|
|
|
|||
Loading…
Reference in New Issue