Update hlsl lsp

This commit is contained in:
2025-11-06 04:44:10 +00:00
parent 0a0bbe15e8
commit aa3af72237
3 changed files with 19 additions and 28 deletions

View File

@@ -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,