-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Describe the feature or problem you'd like to solve
Support specifying init options for lsp servers
Proposed solution
Some servers like fsautocomplete need options to be passed in the initialize request before they do anything useful. This is how neovim sets up the fsautocomplete server with initOptions.
I'd like to be able to have config like:
"fsharp": {
"command": "fsautocomplete",
"args": ["--adaptive-lsp-server-enabled"],
"fileExtensions": {
".fs": "fsharp",
".fsx": "fsharp"
},
+ "initOptions": {
+ "AutomaticWorkspaceInit": true
+ }
}and have these options passed with the initialize request to the server.
Example prompts or workflows
No response
Additional context
No response