fix: update treesitter config to use setup function
This commit is contained in:
parent
1add6760cf
commit
75a73ea4ff
|
|
@ -2,7 +2,9 @@ return {
|
|||
{ -- Highlight, edit, and navigate code
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
build = ':TSUpdate',
|
||||
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
|
||||
config = function(_, opts)
|
||||
require('nvim-treesitter.config').setup(opts)
|
||||
end,
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
'bash',
|
||||
|
|
|
|||
Loading…
Reference in New Issue