plugin revamp
This commit is contained in:
parent
70caae6dcb
commit
6fe9d1b656
11 changed files with 224 additions and 59 deletions
26
lua/custom/plugins/treesitter.lua
Normal file
26
lua/custom/plugins/treesitter.lua
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
return {
|
||||
{
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter-textobjects',
|
||||
},
|
||||
build = ':TSUpdate',
|
||||
opts = {
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
},
|
||||
config = function(_, opts)
|
||||
require('nvim-treesitter.configs').setup(opts)
|
||||
end,
|
||||
},
|
||||
{
|
||||
'nvim-treesitter/playground',
|
||||
dependencies = {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
},
|
||||
'nvim-treesitter/nvim-treesitter-context',
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue