nvim: Update treesitter config
This commit is contained in:
parent
fe15a5490f
commit
27cb40adcf
@ -9,10 +9,12 @@ return {
|
||||
dependencies = {
|
||||
"windwp/nvim-ts-autotag",
|
||||
},
|
||||
config = function()
|
||||
config = function(_, opts)
|
||||
local treesitter = require("nvim-treesitter.configs")
|
||||
|
||||
treesitter.setup({
|
||||
treesitter.setup(opts)
|
||||
end,
|
||||
opts = {
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
@ -55,8 +57,7 @@ return {
|
||||
node_decremental = "<bs>",
|
||||
},
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-context",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user