mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
fix(lsp): lint warnings, default offset_encoding #24046
- fix lint / analysis warnings - locations_to_items(): get default offset_encoding from active client - character_offset(): get default offset_encoding from active client
This commit is contained in:
@@ -36,7 +36,7 @@ end
|
||||
local function parse_headers(header)
|
||||
assert(type(header) == 'string', 'header must be a string')
|
||||
local headers = {}
|
||||
for line in vim.gsplit(header, '\r\n', true) do
|
||||
for line in vim.gsplit(header, '\r\n', { plain = true }) do
|
||||
if line == '' then
|
||||
break
|
||||
end
|
||||
|
Reference in New Issue
Block a user