-
Notifications
You must be signed in to change notification settings - Fork 25
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
Vue completer didn't work #8
Comments
Thanks for the report, but this is once again a VLS bug. Please report it at https://github.com/vuejs/vetur/issues/ |
So the server does initialize, but it then blows up as soon as ycmd sends a |
Thanks a lot. |
As a workaround, take a look at this: https://github.com/vuejs/vetur/pull/745/files You can use def Settings(**kwargs):
return { 'ls': { <place config here> } } Yes, this is a major PITA, but it's definitely not ycmd's fault. |
Thanks and sorry for the late. def Settings(**kwargs):
return {
"ls": {
"vetur": {
"validation": {
"template": True,
"style": True,
"script": True
},
"completion": {
"autoImport": False,
"useScaffoldSnippets": False
},
"format": {
"defaultFormatter": {
"js": "prettier",
"ts": "prettier"
},
"defaultFormatterOptions": {},
"scriptInitialIndent": False,
"styleInitialIndent": False
}
},
"css": {},
"html": {
"suggest": {}
},
"javascript": {
"format": {}
},
"typescript": {
"format": {}
},
"emmet": {},
"stylusSupremacy": {}
}
} And ycmd stopped complaining about undefined property. |
With that extra conf, completions don't work at all for me. I'm hitting vuejs/vetur#1478. You'll have to check the ycmd log, with |
Thanks. What's the version of your vue-language-server? Here is the log. click to unfold
|
I searched https://vuejs.github.io/vetur/formatting.html#settings def Settings(**kwargs):
return {
"ls": {
"vetur": {
# ...
"format": {
# ...
"options": {
"tabSize": 4,
}
}
},
# ...
}
} As for the sluggishness. |
I'm currently on 0.0.62
Great. I love this about vls...
I've seen that kind of sluggishness with solargraph
|
No response. Closing for now. |
env
vls version: 0.0.62 (installed with
npm install -g --production
)neovim: NVIM v0.4.0-1809-ge3e0574cb
problem
Neither completer or goto command worked.
detail
Running
vls --stdio
from the directory where I started vim just blocked.And these are logs after setting
let g:ycm_keep_logfiles = 1 let g:ycm_log_level = 'debug'
:vuecompleter_xxx.log: empty
ycm_xxx.log:
ycmd_xxx_stdout_xxx.log:
ycmd_xxx_stderr_xxx.log:
The text was updated successfully, but these errors were encountered: