+1
-1
lines changedFilter options
+1
-1
lines changed Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ end
21
21
22
22
---@private
23
23
local function getline(bufnr, lnum)
24
-
return api.nvim_buf_get_lines(bufnr, lnum-1, lnum, false)[1]
24
+
return api.nvim_buf_get_lines(bufnr, lnum-1, lnum, false)[1] or ""
25
25
end
26
26
27
27
-- Filetypes based on file extension
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4