A RetroSearch Logo

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

Search Query:

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

resolve nil bufnr (#16902) · neovim/neovim@e6c1545 · 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

@@ -1505,7 +1505,7 @@ do --[[ References ]]

1505 1505

---@param bufnr number Buffer id

1506 1506

function M.buf_clear_references(bufnr)

1507 1507

validate { bufnr = {bufnr, 'n', true} }

1508 -

api.nvim_buf_clear_namespace(bufnr, reference_ns, 0, -1)

1508 +

api.nvim_buf_clear_namespace(bufnr or 0, reference_ns, 0, -1)

1509 1509

end

1510 1510 1511 1511

--- Shows a list of document highlights for a certain buffer.

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