-
Notifications
You must be signed in to change notification settings - Fork 15
Error spawning language server #23
Copy link
Copy link
Open
Description
When I open an .cs file it shows this error: /usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:800: Spawning language server with cmd: `{ "-z", "--hostPID", "46227", "DotNet:enablePackageRestore=false", "--encoding", "utf-8", "--languageserver" , "FormattingOptions:EnableEditorConfigSupport=true", "Sdk:IncludePrereleases=true" }` failed. The language server is either not installed, missing from PATH, or not executable.
Another question, where do I put the configurations mentioned on the docs?
this part:
{
lsp = {
-- Sets if you want to use omnisharp as your LSP
omnisharp = {
-- When set to false, csharp.nvim won't launch omnisharp automatically.
enable = true,
-- When set, csharp.nvim won't install omnisharp automatically. Instead, the omnisharp instance in the cmd_path will be used.
cmd_path = nil,
-- The default timeout when communicating with omnisharp
default_timeout = 1000,
-- Settings that'll be passed to the omnisharp server
enable_editor_config_support = true,
organize_imports = true,
load_projects_on_demand = false,
enable_analyzers_support = true,
enable_import_completion = true,
...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels