From 2b1816417f25bc40e5db80c520f7104765acaf6b Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Sat, 30 Apr 2022 11:33:55 -0700 Subject: [PATCH] Update treesitter.lua `nvim-treesitter` deprecated `maintained` https://github.com/nvim-treesitter/nvim-treesitter/pull/2809. This adds a list of languages instead. Fixes #130 --- lua/user/treesitter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/user/treesitter.lua b/lua/user/treesitter.lua index 6f14cfc..40c80c4 100644 --- a/lua/user/treesitter.lua +++ b/lua/user/treesitter.lua @@ -4,7 +4,7 @@ if not status_ok then end configs.setup { - ensure_installed = "maintained", -- one of "all", "maintained" (parsers with maintainers), or a list of languages + ensure_installed = { "lua", "rust", "typescript" }, -- one of "all" or a list of languages (https://github.com/nvim-treesitter/nvim-treesitter#supported-languages) sync_install = false, -- install languages synchronously (only applied to `ensure_installed`) ignore_install = { "" }, -- List of parsers to ignore installing autopairs = {