Skip to content

Commit

Permalink
feat: only force stop if on windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavEikaas committed Mar 9, 2025
1 parent d8fa16e commit 9d46789
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/roslyn/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ local subcommand_tbl = {

remove_listener = roslyn_emitter:on("stopped", restart_lsp)

client.stop(true)
local force_stop = vim.loop.os_uname().sysname == "Windows_NT"
client.stop(force_stop)
end,
},
stop = {
Expand Down

0 comments on commit 9d46789

Please sign in to comment.