Compare commits

..

2 Commits

Author SHA1 Message Date
5f3908149b
refactor(nvim): remove double call to ibl setup
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m17s
2024-05-12 10:23:12 -05:00
1ec5545343
refactor(nvim): improve rainbow delims strategy selection 2024-05-12 10:21:01 -05:00
2 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,6 @@ return {
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("ibl").setup()
require("ibl").setup({
exclude = {
buftypes = {

View File

@ -83,9 +83,9 @@ return {
vim.g.rainbow_delimiters = {
strategy = {
on_attach = function()
if vim.fn.line("$") > 10000 then
if vim.fn.line("$") > 100000 then
return nil
elseif vim.fn.line("$") > 1000 then
elseif vim.fn.line("$") > 10000 then
return rainbow_delimiters.strategy["global"]
end
return rainbow_delimiters.strategy["local"]