omnisharp config fix
This commit is contained in:
parent
96e4862939
commit
87f05bf93a
|
@ -71,9 +71,9 @@ lsp.omnisharp.setup {
|
||||||
if file:sub(-#".csx") == ".csx" then
|
if file:sub(-#".csx") == ".csx" then
|
||||||
return util.path.dirname(file)
|
return util.path.dirname(file)
|
||||||
end
|
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,
|
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 {
|
lsp.tsserver.setup {
|
||||||
capabilities = lspcap,
|
capabilities = lspcap,
|
||||||
|
|
Loading…
Reference in New Issue