mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-16 11:00:23 +00:00
Merge pull request #365 from trimclain/link-default-highlights
feat: link harpoon highlights to default groups
This commit is contained in:
commit
0a4c318493
@ -38,6 +38,15 @@ function Harpoon:setup(partial_config)
|
|||||||
self.config = Config.merge_config(partial_config, self.config)
|
self.config = Config.merge_config(partial_config, self.config)
|
||||||
self.ui:configure(self.config.settings)
|
self.ui:configure(self.config.settings)
|
||||||
|
|
||||||
|
local highlights = {
|
||||||
|
HarpoonWindow = { default = true, link = "NormalFloat" },
|
||||||
|
HarpoonBorder = { default = true, link = "FloatBorder" },
|
||||||
|
HarpoonTitle = { default = true, link = "FloatTitle" },
|
||||||
|
}
|
||||||
|
for k, v in pairs(highlights) do
|
||||||
|
vim.api.nvim_set_hl(0, k, v)
|
||||||
|
end
|
||||||
|
|
||||||
---TODO: should we go through every seen list and update its config?
|
---TODO: should we go through every seen list and update its config?
|
||||||
|
|
||||||
if self.hooks_setup == false then
|
if self.hooks_setup == false then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user