|
|
@ -182,6 +182,7 @@ require('lazy').setup({
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
|
|
|
dependencies = {
|
|
|
|
dependencies = {
|
|
|
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
|
|
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
|
|
|
|
|
|
|
'JoosepAlviste/nvim-ts-context-commentstring'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
config = function()
|
|
|
|
pcall(require('nvim-treesitter.install').update { with_sync = true })
|
|
|
|
pcall(require('nvim-treesitter.install').update { with_sync = true })
|
|
|
@ -382,6 +383,9 @@ require('nvim-treesitter.configs').setup {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
context_commentstring = {
|
|
|
|
|
|
|
|
enable = true,
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- Diagnostic keymaps
|
|
|
|
-- Diagnostic keymaps
|
|
|
|