-
-
Notifications
You must be signed in to change notification settings - Fork 596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VLS crashes for *.vue files in node_modules #2006
Comments
This question probably belongs in sublime LSP repo. In any case, you need to provide configuration for VLS server which you didn't. I'd suggest you remove that configuration and try https://github.com/sublimelsp/LSP-vue instead. It provides base configuration and manages server dependency for you. |
If I use the server used by LSP-vue, I will encounter this issue which will then redirect me to this issue and lastly to this issue in this repo. I am creating this issue because I had a similar error from this issue. This is why I cloned vetur itself to use the included server. I cloned and compiled the server using |
OK, then just take the options from https://github.com/sublimelsp/LSP-vue/blob/master/LSP-vue.sublime-settings and include in your configuration. Something like this
|
I appreciate this. I am using the LSP-vue plugin and overriding the "command" key in the settings as provided above to use my own server. I believe the settings are already being merged by the plugin automatically to produce the json you provided. |
Hmm, maybe it's the case but it's sort of undocumented feature and I would not rely on that. Better to just remove the |
oh. just for clarification, it does not randomly crash. I just realized again that it crashes only on vue files under node_modules similar to this issue that is why I commented issue before 😅 |
@kapitanluffy Does this still repro in latest version? Setting 3 => TS, 1 => JS. |
@octref here's my fork. It uses the manually cloned/compiled vetur repository. Try opening the vue files inside the vue2-google-maps package.
|
Thanks for the repro. I disabled diagnostics for any vue files in |
Info
Problem
Reproducible Case
Crashes when restarting vue language server
LSP plugin settings
The text was updated successfully, but these errors were encountered: