diff options
author | HampusM <hampus@hampusmat.com> | 2024-10-30 23:09:03 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2024-10-30 23:09:18 +0100 |
commit | 0bb7aa9356aa83d0043a060b6da6501fab1d4995 (patch) | |
tree | d00fd8f3accf96f8c15a211535314e999ae25a82 /lua/plugins.lua | |
parent | f501470ebf18d9292dd95469a39fe53714527009 (diff) |
use treesitter & use plugin rainbow-delimeters
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 28 |
1 files changed, 22 insertions, 6 deletions
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 |