Skip to content

Commit

Permalink
perf(illuminate): vim-illuminate only use regex, no treesitter/lsp (#672
Browse files Browse the repository at this point in the history
)
  • Loading branch information
linrongbin16 authored Jan 7, 2025
1 parent 84fb41f commit cd2986c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion lua/configs/RRethy/vim-illuminate/config.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
local constants = require("builtin.constants")

require("illuminate").configure({
delay = 300,
providers = {
"regex",
},
-- disable for big file
should_enable = function(bufnr)
local f = vim.api.nvim_buf_get_name(bufnr)
Expand Down
3 changes: 0 additions & 3 deletions lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ local M = {
{
"RRethy/vim-illuminate",
event = { VeryLazy },
dependencies = {
"neovim/nvim-lspconfig",
},
config = lua_config("RRethy/vim-illuminate"),
},
{
Expand Down

0 comments on commit cd2986c

Please sign in to comment.