mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix(lsp): avoid ^M character in hover window on Windows (#19640)
This commit is contained in:
parent
58e1c6fbff
commit
85ad0e6b43
@ -106,6 +106,7 @@ end
|
|||||||
|
|
||||||
---@private
|
---@private
|
||||||
local function split_lines(value)
|
local function split_lines(value)
|
||||||
|
value = string.gsub(value, '\r\n?', '\n')
|
||||||
return split(value, '\n', true)
|
return split(value, '\n', true)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user