Compare commits
2 Commits
6481950e18
...
5f3908149b
Author | SHA1 | Date | |
---|---|---|---|
5f3908149b | |||
1ec5545343 |
@ -6,7 +6,6 @@ return {
|
|||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("ibl").setup()
|
|
||||||
require("ibl").setup({
|
require("ibl").setup({
|
||||||
exclude = {
|
exclude = {
|
||||||
buftypes = {
|
buftypes = {
|
||||||
|
@ -83,9 +83,9 @@ return {
|
|||||||
vim.g.rainbow_delimiters = {
|
vim.g.rainbow_delimiters = {
|
||||||
strategy = {
|
strategy = {
|
||||||
on_attach = function()
|
on_attach = function()
|
||||||
if vim.fn.line("$") > 10000 then
|
if vim.fn.line("$") > 100000 then
|
||||||
return nil
|
return nil
|
||||||
elseif vim.fn.line("$") > 1000 then
|
elseif vim.fn.line("$") > 10000 then
|
||||||
return rainbow_delimiters.strategy["global"]
|
return rainbow_delimiters.strategy["global"]
|
||||||
end
|
end
|
||||||
return rainbow_delimiters.strategy["local"]
|
return rainbow_delimiters.strategy["local"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user