new config using vim.pack
This commit is contained in:
parent
e685165044
commit
17fda33a90
52 changed files with 629 additions and 659 deletions
38
lua/plugins/utils.lua
Normal file
38
lua/plugins/utils.lua
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
---@module "utils.plugins"
|
||||
---@type Plugin
|
||||
return {
|
||||
configure = function(load)
|
||||
load("HiPhish/rainbow-delimiters.nvim")
|
||||
|
||||
-- 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",
|
||||
},
|
||||
}
|
||||
|
||||
load("nvim-tree/nvim-web-devicons")
|
||||
load("folke/which-key.nvim")
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue