diff --git a/lua/kickstart/plugins/treesitter.lua b/lua/kickstart/plugins/treesitter.lua index 15893c1..9118f1e 100644 --- a/lua/kickstart/plugins/treesitter.lua +++ b/lua/kickstart/plugins/treesitter.lua @@ -1,6 +1,11 @@ return { + { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', + dependencies = { + 'nvim-treesitter/nvim-treesitter-context', + 'nvim-treesitter/nvim-treesitter-textobjects', + }, build = ':TSUpdate', config = function() -- [[ Configure Treesitter ]] See `:help nvim-treesitter` @@ -68,13 +73,6 @@ return { }, }, } - - -- There are additional nvim-treesitter modules that you can use to interact - -- with nvim-treesitter. You should go explore a few and see what interests you: - -- - -- - Incremental selection: Included, see :help nvim-treesitter-incremental-selection-mod - -- - Show your current context: https://github.com/nvim-treesitter/nvim-treesitter-context - -- - Treesitter + textobjects: https://github.com/nvim-treesitter/nvim-treesitter-textobjects end, }, }