Update hlsl lsp
This commit is contained in:
@@ -21,31 +21,7 @@ if not configs.roslyn then
|
||||
}
|
||||
end
|
||||
|
||||
-- lsp.roslyn.setup({
|
||||
-- offset_encoding = "utf-16",
|
||||
-- cmd = {
|
||||
-- "dotnet",
|
||||
-- "C:/Users/Misaki/.vscode/extensions/ms-dotnettools.csharp-2.93.22-win32-x64/.roslyn/Microsoft.CodeAnalysis.LanguageServer.dll",
|
||||
-- "--devKitDependencyPath=C:/Users/Misaki/.vscode/extensions/ms-dotnettools.csharp-2.93.22-win32-x64/.roslynDevKit/Microsoft.VisualStudio.LanguageServices.DevKit.dll",
|
||||
-- "--logLevel=Information",
|
||||
-- "--extensionLogDirectory=C:/Temp/RoslynLogs/", -- make sure this folder exists
|
||||
-- "--stdio",
|
||||
-- },
|
||||
-- })
|
||||
|
||||
-- local pid = vim.fn.getpid()
|
||||
-- lsp.roslyn.setup({
|
||||
-- cmd = {
|
||||
-- "C:/Users/Misaki/Downloads/omnisharp-win-x64/OmniSharp.exe",
|
||||
-- "--languageserver",
|
||||
-- "--hostPID",
|
||||
-- tostring(pid),
|
||||
-- "--stdio",
|
||||
-- },
|
||||
-- })
|
||||
|
||||
local csext = require("csharpls_extended")
|
||||
|
||||
local config = {
|
||||
handlers = {
|
||||
["textDocument/definition"] = csext.handler,
|
||||
|
||||
Reference in New Issue
Block a user