diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 7032272..ec6894a 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -24,7 +24,21 @@ return { } end }, - + { + 'nvim-treesitter/nvim-treesitter', + build = ':TSUpdate', + config = function() + require'nvim-treesitter.configs'.setup { + -- Enable Treesitter syntax highlighting + ensure_installed = { "markdown", "sql","vim", + "lua", "vimdoc", "html", "css" }, -- add other languages if needed + highlight = { + enable = true, + additional_vim_regex_highlighting = { "markdown" }, + }, + } + end, + }, -- { -- "nvim-treesitter/nvim-treesitter", -- opts = {