neovim: Configure illuminate
This commit is contained in:
parent
614239b133
commit
8ee3b57e3a
3 changed files with 20 additions and 1 deletions
|
|
@ -145,6 +145,11 @@ local theme = lush(function(injected_functions)
|
|||
-- lukas-reineke/indent-blankline.nvim
|
||||
IblIndent { fg = "#000000" },
|
||||
|
||||
-- RRethy/vim-illuminate
|
||||
IlluminatedWordText { bold = true },
|
||||
IlluminatedWordRead { IlluminatedWordText },
|
||||
IlluminatedWordWrite { IlluminatedWordText, underline = true },
|
||||
|
||||
-- For :Lushify to work, the groups have to be spelled as `sym` called
|
||||
-- on a string literal.
|
||||
|
||||
|
|
|
|||
|
|
@ -145,6 +145,11 @@ local theme = lush(function(injected_functions)
|
|||
-- lukas-reineke/indent-blankline.nvim
|
||||
IblIndent { fg = "#eeeeee" },
|
||||
|
||||
-- RRethy/vim-illuminate
|
||||
IlluminatedWordText { bold = true },
|
||||
IlluminatedWordRead { IlluminatedWordText },
|
||||
IlluminatedWordWrite { IlluminatedWordText, underline = true },
|
||||
|
||||
-- For :Lushify to work, the groups have to be spelled as `sym` called
|
||||
-- on a string literal.
|
||||
|
||||
|
|
|
|||
|
|
@ -64,8 +64,17 @@ return {
|
|||
},
|
||||
{
|
||||
"RRethy/vim-illuminate",
|
||||
init = function()
|
||||
local illuminate = require('illuminate')
|
||||
illuminate.configure({
|
||||
delay = 500,
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{ "<leader>i", ":IlluminateToggle<cr>" },
|
||||
{ "<leader>ii", function() require('illuminate').toggle_buf() end },
|
||||
{ "<leader>in", function() require('illuminate').goto_next_reference() end },
|
||||
{ "<leader>ip", function() require('illuminate').goto_prev_reference() end },
|
||||
{ "<leader>if", function() require('illuminate').toggle_freeze_buf() end },
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue