Skip to content

Commit

Permalink
fix(nvim): replace deprecated plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
registerGen committed Aug 24, 2023
1 parent d3194b1 commit 4c6e34e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
9 changes: 9 additions & 0 deletions nvim/lua/plugincfg/rainbow_delimiters.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
local M = {}

M.config = function()
vim.g.rainbow_delimiters = {
highlight = { "Red", "Orange", "Yellow", "Green", "Blue", "Purple" },
}
end

return M
5 changes: 0 additions & 5 deletions nvim/lua/plugincfg/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ M.config = function()
},
},
},
rainbow = {
enable = true,
extended_mode = true,
max_file_lines = nil,
},
playground = {
enable = true,
disable = {},
Expand Down
5 changes: 4 additions & 1 deletion nvim/lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -374,9 +374,12 @@ require("packer").startup(function(use)
end,
})
use({
"mrjones2014/nvim-ts-rainbow",
"hiphish/rainbow-delimiters.nvim",
after = "nvim-treesitter",
event = "BufRead",
config = function()
require("plugincfg.rainbow_delimiters").config()
end
})
use({
"nvim-treesitter/nvim-treesitter-context",
Expand Down

0 comments on commit 4c6e34e

Please sign in to comment.