nvim: FIRST PR - now I don't need to use my own illuminate branch
This commit is contained in:
parent
c47d4a5d28
commit
9db718e303
1 changed files with 6 additions and 4 deletions
|
@ -100,11 +100,13 @@ return require('packer').startup({function()
|
||||||
'vimpostor/vim-lumen',
|
'vimpostor/vim-lumen',
|
||||||
}
|
}
|
||||||
use { -- vim-illuminate: highlight other occurrences of the word under cursor
|
use { -- vim-illuminate: highlight other occurrences of the word under cursor
|
||||||
-- 'RRethy/vim-illuminate',
|
'RRethy/vim-illuminate',
|
||||||
-- commit = '27f6ef135a88d9410a33cf92fc47f5c018df552c',
|
-- commit = '27f6ef135a88d9410a33cf92fc47f5c018df552c', -- for finding the correct color to make highlights
|
||||||
'PowerUser64/vim-illuminate',
|
|
||||||
branch = 'wrapscan',
|
|
||||||
config = function()
|
config = function()
|
||||||
|
vim.keymap.set('n', '<a-i>', require('illuminate').toggle_freeze_buf)
|
||||||
|
vim.api.nvim_set_hl(0, "IlluminatedWordText", { bg = "#3b4261" })
|
||||||
|
vim.api.nvim_set_hl(0, "IlluminatedWordRead", { bg = "#3b4261" })
|
||||||
|
vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { bg = "#3b4261" })
|
||||||
require('illuminate').configure({
|
require('illuminate').configure({
|
||||||
providers = {
|
providers = {
|
||||||
'treesitter',
|
'treesitter',
|
||||||
|
|
Loading…
Add table
Reference in a new issue