fix(lsp): avoid ^M character in hover window on Windows

This commit is contained in:
2022-08-04 22:45:03 +08:00
parent 27ce21ac85
commit c77a04af11
+1
View File
@@ -106,6 +106,7 @@ end
---@private
local function split_lines(value)
value, _ = string.gsub(value, '\r\n?', '\n')
return split(value, '\n', true)
end