Highlight-annotate.nvim is a plugin for aiding reading and analyzing text files such as logs or program sources.
The highlights and annotations are not persistent and last only for the current editing session.
use { 'ivyl/highlight-annotate.nvim', config = function()
require'highlight-annotate'.setup({})
end }
Local to window.
:HA hl
:HA list
:HA del-hl
Local to buffer.
:HA a
:HA del-a
Requires telescope.nvim
local telescope = require 'telescope'
-- regular telescope setup goes here
telescope.load_extension('highlight-annotate')
vim.keymap.set('n', '<leader>fa', telescope.extensions["highlight-annotate"].annotations)
:Telescope highlight-annotate annotations
or use the mapping.