-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
fix(svlangserver): don't use custom project setting resolution #1948
Conversation
Hi @williamboman, I thought that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned in imc-trading/svlangserver#22, .svlangserver
is used for root_dir detection.
Co-authored-by: HenryHsieh <[email protected]>
I see. What kind of project-local settings does it need, are the default ones not sufficient? In the current |
8b91b05
to
5c3628a
Compare
If default ones mean
I didn't notice this, thanks for pointing out.
Yes, you're right. Every project may have there settings. In addition to finding project's source files, the projects usually need macros to correctly configure the source files (similar to pass -DMACRO to C/C++ projects).
This is what I need. Thanks! |
@henry-hsieh 👋 It seems like the server configuration for
svlangserver
included some customexrc
-as-json-style project settings loader, which I don't think should be part of the stock configuration provided by lspconfig, but instead provided by users themselves.