diff --git a/after/plugin/treesitter.lua b/after/plugin/treesitter.lua index 9a19d22..0d725a5 100644 --- a/after/plugin/treesitter.lua +++ b/after/plugin/treesitter.lua @@ -2,17 +2,16 @@ if not pcall(require, 'nvim-treesitter') then return end -require('nvim-treesitter.configs').setup { - - ensure_installed = { - "c", - "cpp", +local config = { + ensure_installed = { + "c", + "cpp", "c_sharp", "markdown", "latex", "go", "rust" - }, + }, sync_install = false, highlight = { @@ -35,3 +34,4 @@ require('nvim-treesitter.configs').setup { } } } +