-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Saving settings on other editors fails #32
Comments
I looked into the commits, and it seams that the external settings-file management was moved out of ltex-ls. A possible solution would be to move it back to ltex-ls and then expose Part of the information can also be gathered from the initialize(1) command (using the workspaceFolders key). |
The LSP spec treats the client as responsible for managing the configuration (in this case: dictionary, disabled rules, etc.); the server retrieves it via Consequently, What was moved from ltex-ls to vscode-ltex was not really management of (external) settings, but reading in external dictionary files specified as special entries (colon followed by a path) in the dictionary the client sent to the server. Before the point in time when this was moved,
To implement these features (which were driven by popular demand), and as the client should be responsible for managing configuration, reading external files was moved to the client. Before that, ltex-ls only “replaced” the special entries in the client-supplied dictionary with the contents of the external files; there was no real management of settings on the server side. |
Okey, this means its a client-side issue only. I will look into this more deeply in the next weeks. Does the server expect a I must admit I am not that familiar with the protocol itself. It was just enought to extend the existing framework on sublime to support ltex-ls. |
"More correct" because LTEX LS reads the settings |
I already implemented these custom commands and it seams that the LSP framework on sublime does the work for me in this case. That means LSP-ltex-ls is now fully functional. But without the per-project/workspace settings those are vscode-only (but may be implemented in the future). I do only add the exceptions to the user settings. |
Describe the bug
Saving settings on other editors fails
Steps to reproduce
Use any code action that modifies user settings
Expected behavior
Actually not sure - is there any specification in the LSP?
Actual behavior
ltex-ls responds with
false
Connected to LDAP/LSP-ltex-ls#3
The text was updated successfully, but these errors were encountered: