omnisharp config fix
This commit is contained in:
parent
96e4862939
commit
87f05bf93a
1 changed files with 2 additions and 2 deletions
|
@ -71,9 +71,9 @@ lsp.omnisharp.setup {
|
|||
if file:sub(-#".csx") == ".csx" then
|
||||
return util.path.dirname(file)
|
||||
end
|
||||
return util.root_pattern("*.sln")(file) or util.root_pattern("*.csproj")(file)
|
||||
return util.root_pattern("*.sln")(file) or util.root_pattern("*.csproj")(file) or util.root_pattern("omnisharp.json")(file)
|
||||
end,
|
||||
cmd = { "/home/rudism/.local/share/omnisharp/OmniSharp", "--languageserver" , "--hostPID", tostring(pid) },
|
||||
cmd = { "/home/rudism/.local/share/omnisharp/OmniSharp" }, --"--languageserver" , "--hostPID", tostring(pid) },
|
||||
}
|
||||
lsp.tsserver.setup {
|
||||
capabilities = lspcap,
|
||||
|
|
Loading…
Reference in a new issue