From 1db9ab361cfb4b471483c018d5839b3ec8dfbb99 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Wed, 19 Jul 2023 19:05:46 +0100 Subject: Not maintained It is making opening C files very slow! --- plugins.vim | 1 - treesitter.lua | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins.vim b/plugins.vim index 77834e4..6f2cc11 100644 --- a/plugins.vim +++ b/plugins.vim @@ -46,7 +46,6 @@ Plug 'hrsh7th/vim-vsnip' " LSP Plug 'neovim/nvim-lspconfig' Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} -Plug 'https://git.sr.ht/~p00f/nvim-ts-rainbow' " LSP helpers Plug 'kyazdani42/nvim-web-devicons' diff --git a/treesitter.lua b/treesitter.lua index 6361af1..39f87e4 100644 --- a/treesitter.lua +++ b/treesitter.lua @@ -5,6 +5,6 @@ -- go, scala, c & cpp, python, comment, ... -- require'nvim-treesitter.configs'.setup { + ensure_installed = { "scala", "c", "cpp", "python", "comment" }, highlight = { enable = true }, - rainbow = { enable = true }, } -- cgit v1.2.3