home: vim: add 'nvim-ts-context-commentstring'

This commit is contained in:
Bruno BELANYI 2022-03-07 21:10:53 +01:00
parent fa8961c9d9
commit 85a7e200ad
2 changed files with 4 additions and 0 deletions

View file

@ -66,6 +66,7 @@ in
null-ls-nvim # LSP integration for linters and formatters null-ls-nvim # LSP integration for linters and formatters
(nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars)) # Better highlighting (nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars)) # Better highlighting
nvim-treesitter-textobjects # More textobjects nvim-treesitter-textobjects # More textobjects
nvim-ts-context-commentstring # Comment string in nested language blocks
plenary-nvim # 'null-ls', 'telescope' dependency plenary-nvim # 'null-ls', 'telescope' dependency
# Completion # Completion

View file

@ -9,6 +9,9 @@ ts_config.setup({
indent = { indent = {
enable = true, enable = true,
}, },
context_commentstring = {
enable = true,
},
textobjects = { textobjects = {
select = { select = {
enable = true, enable = true,