aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-10-01 18:54:33 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-10-01 18:54:33 +0100
commite829374b33c021266fc5a1794c712e8fd9d9e408 (patch)
treed7293c36ce91f691ea289da415856f2a6188067b
parent053847ea9118d3a3b4ebc2f08a3ef69c3e4061eb (diff)
downloaddotnvim-e829374b33c021266fc5a1794c712e8fd9d9e408.tar.gz
dotnvim-e829374b33c021266fc5a1794c712e8fd9d9e408.zip
Added rainbow parenthesis via tree-sitter
-rw-r--r--plugins.vim1
-rw-r--r--treesitter.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins.vim b/plugins.vim
index 1361050..729613d 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -46,6 +46,7 @@ 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 7f772aa..eaac12c 100644
--- a/treesitter.lua
+++ b/treesitter.lua
@@ -7,4 +7,5 @@
require'nvim-treesitter.configs'.setup {
highlight = { enable = true },
indent = { enable = true },
+ rainbow = { enable = true },
}