fix: neovim expand path (#188)

docs-add-demo
Meng Zhang 2023-06-04 21:42:18 -07:00 committed by GitHub
parent da02d471a9
commit 40d8e039b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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`.'