Skip to content

Commit 8df4b8d

Browse files
Avoid WSL bug in file watching in dotnet runtime
Newer roslyn versions run into stack overflow errors when initializing. It seems to only happen on WSL and it is related to running roslyn as a systemd service. <seblyng/roslyn.nvim#303 (comment)>
1 parent 8ec0a68 commit 8df4b8d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

nvim/lua/plugins/csharp.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ end
4040

4141
local function install_lsp_and_dap_if_needed()
4242
require("installer").install_if_missing({
43-
-- "roslyn", -- LSP Needs to be manually installed from the Mason gui?
43+
-- Avoid WSL bug in file watching in dotnet runtime <https://github.com/seblyng/roslyn.nvim/issues/303#issuecomment-4144530656>
44+
"roslyn@5.4.0-2.26175.10", -- LSP Needs to be manually installed from the Mason gui?
4445
"netcoredbg", -- DAP
4546
})
4647
end

0 commit comments

Comments
 (0)