Closed Jacob-32587 closed 1 week ago
Volar works fine for me in a plain vue app created with:
pnpm create vue@latest
volar version: 2.0.22
Also: Your neovim version is a dev version. Try a stable version. Seems to me that it's an user error.
In versions of Neovim prior to 0.10.0, some LSPs are broken, including Vue's.
Here it is working perfectly.
Neovim version: v0.10.0
OS: Ubuntu 22.04 LTS
/ Fedora 40
Cant reproduce with neovim 0.9.5 either.
After updating my nvim
version to 0.10.0
things seem to be working correctly now. I can use gd
to go to a components associated file. I can also see typescript function docs, etc...
I shouldn't have been using a nightly build, sorry for the inconvenience and thank you!
Checklist
repro.lua
provided belowNeovim version (nvim -v)
NVIM v0.9.6-dev-18+g0ef27180
Operating system/version
Pop!_OS 22.04 LTS
Terminal/GUI
gnome
Describe the bug
Hello I am new to neovim/astrovim and was having issues with an initial setup of Vue. After I add the below line to my
community.lua
Vue Volar does not work. The error message in the pop up on the top right hand side saysClient _ quit with exit code 1 and signal 0
After running
lua vim.cmd('e'..vim.lsp.get_log_path())
in neovim the following output can be observed.I believe the bug is related to a recent commit in vue-volar here: https://github.com/volarjs/volar.js/commit/1f6e2bf4a0bad217607e196f378d9a1198293c3b since the error message lines up with the commit message. I'm not technically inclined in regards to LSP's so I may be wrong, I have only recently started to migrate from VSCodium.
Steps to Reproduce
Add
to a fresh astrovim install and try to open a Vue project.
Expected behavior
The LSP works and no errors are thrown
Screenshots
Additional Context
No response
Minimal configuration