f3fora / nvim-texlabconfig

nvim-texlabconfig: Forward and Inverse Search for Texlab and neovim
The Unlicense
34 stars 1 forks source link

'Error when opening file: open ~/.cache/nvim/nvim-texlabconfig.json: no such file or directory' but it exists #23

Open highjeans opened 1 week ago

highjeans commented 1 week ago

I am trying to get inverse search and forward search to work with skim on MacOS with neovim. Forward search works perfectly, but when I try to do an inverse search, skim seems to do nothing. When I run the built executable that is passed to skim, it gives the error Error when opening file: open ~/.cache/nvim/nvim-texlabconfig.json: no such file or directory. However, when I run ls ~/.cache/nvim/ it should that nvim-texlabconfig.json exists. Even if I copy the path from the error and paste it as an argument to vim it opens properly and has text in it. How can I fix this?

highjeans commented 1 week ago

Ok passing in absolute paths make it work properly, but how am I supposed to do this through Skim as its still not doing anything?