nvim: FIRST PR - now I don't need to use my own illuminate branch

This commit is contained in:
PowerUser64 2022-08-25 02:40:09 -07:00
parent c47d4a5d28
commit 9db718e303

View file

@ -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',