+1
-1
lines changedFilter options
+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