diff --git a/config/common/nvim/lua/plugins/common/treesitter.lua b/config/common/nvim/lua/plugins/common/treesitter.lua index 363cfab..e0093d8 100644 --- a/config/common/nvim/lua/plugins/common/treesitter.lua +++ b/config/common/nvim/lua/plugins/common/treesitter.lua @@ -24,14 +24,25 @@ if MainHost then end return { - "nvim-treesitter/nvim-treesitter", - build = ":TSUpdate", - event = "VeryLazy", - config = function() - require("nvim-treesitter.configs").setup({ - ensure_installed = treesitter_modules, - highlight = { enable = true }, - indent = { enable = true }, - }) - end, + { + "nvim-treesitter/nvim-treesitter", + build = ":TSUpdate", + event = "VeryLazy", + config = function() + require("nvim-treesitter.configs").setup({ + ensure_installed = treesitter_modules, + highlight = { enable = true }, + indent = { enable = true }, + }) + end, + }, + { + "nvim-treesitter/nvim-treesitter-context", + event = "VeryLazy", + config = function() + require("treesitter-context").setup({ + separator = "-", + }) + end, + } }