You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just for future reference and anyone wondering how to achieve removing all highlights in the open buffer in one go, see below for global function snippet.
function_G.highstr_highlight_remove_all()
localapi=vim.apilocalbuffer_current_number=api.nvim_eval([[bufnr('%')]])
localline_last=vim.fn.line('$')
api.nvim_buf_clear_namespace(buffer_current_number, 0, 1-1, line_last)
end
You can call this function as follows: lua _G.highstr_highlight_remove_all()
Cheers for the great plugin !
The text was updated successfully, but these errors were encountered:
Just for future reference and anyone wondering how to achieve removing all highlights in the open buffer in one go, see below for global function snippet.
You can call this function as follows:
lua _G.highstr_highlight_remove_all()
Cheers for the great plugin !
The text was updated successfully, but these errors were encountered: