From 2d2c18e3b61a1883190fcd3c9dd9ab86002ddeab Mon Sep 17 00:00:00 2001 From: srdusr Date: Fri, 14 Oct 2022 23:43:14 +0200 Subject: Updated nvim-cmp & lsp: config/saga --- lua/plugins/treesitter.lua | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'lua/plugins/treesitter.lua') diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index 261e262..b081ca3 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -11,26 +11,21 @@ treesitter.setup { disable = {}, --disable = { "python", "css" } }, - --ensure_installed = { - -- "c", - -- "zsh", - -- "lua" - -- --"rust", - -- --"php", - -- --"json", - -- --"yaml", - -- --"swift", - -- --"css", - -- --"html", - -- --"toml", - -- --"tsx", - --}, - ensure_installed = "all", -- one of "all" or a list of languages + ensure_installed = { + "c", + "bash", + "lua", + "rust", + }, + --ensure_installed = "all", -- one of "all" or a list of languages --ignore_install = { "" }, -- List of parsers to ignore installing - autotag = { enable = true, }, + efactor = { + highlight_definitions = { enable = true }, + highlight_current_scope = { enable = true } + } } --vim.opt.foldmethod = "expr" --vim.opt.foldexpr = "nvim_treesitter#foldexpr()" -- cgit v1.2.3