A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/5e64d65df690000e56fd91577978e1744d6e9e8e below:

always return a string in getline helper function … · neovim/neovim@5e64d65 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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