vim: Replace old plugin with rainbow-delimiter

In case you're wondering
3c8a185da4?tab=readme-ov-file#rainbow-delimitersnvim-integration
is not worth the trouble...
This commit is contained in:
Geoffrey Frogeye 2024-01-09 00:12:35 +01:00
parent 8f370c5040
commit aeccc22857
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
3 changed files with 5 additions and 14 deletions

View file

@ -9,7 +9,7 @@
jq
yq
universal-ctags
highlight
cloc
# Network
socat

View file

@ -185,7 +185,10 @@ in
# indent = true; # Not very working last time I tried apparently
};
# TODO Investigate https://github.com/nvim-treesitter/nvim-treesitter-textobjects
indent-blankline.enable = true; # TODO integrate with rainbow-delimiters and use more of the options
rainbow-delimiters.enable = true; # Randomly colore paired brackets
indent-blankline.enable = true; # Show indent guides
undotree.enable = true; # Navigate edition history
@ -227,10 +230,6 @@ in
# Language server
lsp_signature-nvim # Show argument definition when typing a function
# Treesitter
nvim-ts-rainbow # Randomly color parenthesis pairs
# TODO Replace with plugins.rainbow-delimiters
# Snippets
vim-vsnip
vim-vsnip-integ
@ -258,7 +257,6 @@ in
./feline.lua
./symbols-outline-nvim.lua
./lsp_signature-nvim.lua
./nvim-ts-rainbow.lua
./nvim-compe.lua
];
extraConfigVim = ''

View file

@ -1,7 +0,0 @@
require'nvim-treesitter.configs'.setup {
rainbow = {
enable = true,
extended_mode = true, -- Highlight also non-parentheses delimiters, boolean or table: lang -> boolean
max_file_lines = 1000, -- Do not enable for files with more than 1000 lines, int
}
}