astro-nvim-v3 - ft: fix ts-rainbow

This commit is contained in:
huyjaky
2024-08-20 07:23:08 +07:00
parent 1f7ec497c6
commit ba759da71c
4 changed files with 21 additions and 18 deletions

View File

@@ -6,5 +6,6 @@ return {
hide_fillchars = true,
borderless_telescope = false,
terminal_colors = false,
integrations = { rainbow_delimiters = true },
},
}

View File

@@ -1,6 +1,8 @@
return {
{
"HiPhish/rainbow-delimiters.nvim",
-- event = { "InsertLeave", "TextChanged" },
event = "TextChanged",
dependencies = {
"nvim-treesitter/nvim-treesitter",
{
@@ -26,15 +28,14 @@ return {
},
},
},
specs = {
{
"catppuccin",
optional = true,
---@type CatppuccinOptions
opts = { integrations = { rainbow_delimiters = true } },
},
},
event = "User AstroFile",
-- specs = {
-- {
-- "catppuccin",
-- optional = true,
-- ---@type CatppuccinOptions
-- opts = { integrations = { rainbow_delimiters = true } },
-- },
-- },
main = "rainbow-delimiters.setup",
opts = {},
},

View File

@@ -25,6 +25,7 @@ return {
{ "[", "]", fly = true },
{ "{", "}", fly = true },
{ "(", ")", fly = true },
-- { "<", ">", fly = true },
},
},
dependencies = {