tmp
This commit is contained in:
parent
e3d3ab6680
commit
9c1281ef4f
7 changed files with 93 additions and 0 deletions
33
lua/plugins/rainbow_parentheses.lua
Normal file
33
lua/plugins/rainbow_parentheses.lua
Normal file
|
@ -0,0 +1,33 @@
|
|||
return {
|
||||
"HiPhish/rainbow-delimiters.nvim",
|
||||
lazy = false,
|
||||
init = function()
|
||||
-- This module contains a number of default definitions
|
||||
local rainbow_delimiters = require("rainbow-delimiters")
|
||||
|
||||
---@type rainbow_delimiters.config
|
||||
vim.g.rainbow_delimiters = {
|
||||
strategy = {
|
||||
[""] = rainbow_delimiters.strategy["global"],
|
||||
vim = rainbow_delimiters.strategy["local"],
|
||||
},
|
||||
query = {
|
||||
[""] = "rainbow-delimiters",
|
||||
lua = "rainbow-blocks",
|
||||
},
|
||||
priority = {
|
||||
[""] = 110,
|
||||
lua = 210,
|
||||
},
|
||||
highlight = {
|
||||
"RainbowDelimiterViolet",
|
||||
"RainbowDelimiterBlue",
|
||||
"RainbowDelimiterOrange",
|
||||
"RainbowDelimiterYellow",
|
||||
"RainbowDelimiterRed",
|
||||
"RainbowDelimiterGreen",
|
||||
"RainbowDelimiterCyan",
|
||||
},
|
||||
}
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue