From 0bb7aa9356aa83d0043a060b6da6501fab1d4995 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 30 Oct 2024 23:09:03 +0100 Subject: use treesitter & use plugin rainbow-delimeters --- lua/plugins.lua | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'lua/plugins.lua') diff --git a/lua/plugins.lua b/lua/plugins.lua index 4fb084e..35e8e72 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -55,9 +55,6 @@ require("lazy").setup({ "lukas-reineke/indent-blankline.nvim", main = "ibl", tag = "v3.5.3", - opts = { - indent = { char = '¦' } - } }, -- Style end -- Telescope @@ -118,7 +115,7 @@ require("lazy").setup({ } }, -- Telescope end - -- Syntax & formatting + -- Syntax highlighting & formatting { "tikhomirov/vim-glsl", commit = "bfd330a271933c3372fcfa8ce052970746c8e9dd" @@ -129,8 +126,27 @@ require("lazy").setup({ }, { "nvim-treesitter/nvim-treesitter", - tag = "v0.9.2"; - build = ":TSUpdate" + commit = "1c111e3e8f42c85b16cb4bf30e4254fcb5607817"; + build = ":TSUpdate", + config = function () + local configs = require("nvim-treesitter.configs") + + configs.setup({ + ensure_installed = { + "c", "lua", "vim", "vimdoc", "rust", "python", "javascript", + "html", "cpp" + }, + sync_install = false, + highlight = { + enable = true, + }, + indent = { enable = true }, + }) + end + }, + { + "https://gitlab.com/HiPhish/rainbow-delimiters.nvim", + commit = "d227e6c9879bb50af35cd733461198666981d482" -- 0.6.2 }, -- Syntax & formatting end -- Markdown -- cgit v1.2.3-18-g5258