Skip to content

pockata/harpoon-highlight-current-file

Repository files navigation

harpoon-highlight-current-file

A small plugin to highlight the current file in the Harpoon v2 quick menu.

The plugin moves the cursor to the line containing the filename of the current buffer and highlights it.

image

Installation

Using Lazy.nvim

{
    "pockata/harpoon-highlight-current-file",
    dependencies = { "ThePrimeagen/harpoon" },
    config = function()
        require("harpoon-highlight-current-file").setup()
    end,
},

Highlight groups

As a good default the HarpoonCurrentFile highlight group is linked to String

To change the default highlight, add the following command to your config:
highlight HarpoonCurrentFile guifg=red

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published