nvim: add comment + treesitter aware commentstring
parent
5942a1c94c
commit
10ebfad990
|
@ -34,6 +34,7 @@ in
|
|||
catppuccin-nvim
|
||||
cmp-nvim-lsp
|
||||
cmp_luasnip
|
||||
comment-nvim
|
||||
dashboard-nvim
|
||||
lsp_lines-nvim
|
||||
lualine-lsp-progress
|
||||
|
@ -45,6 +46,7 @@ in
|
|||
nvim-cmp
|
||||
nvim-lspconfig
|
||||
nvim-treesitter.withAllGrammars
|
||||
nvim-ts-context-commentstring
|
||||
nvim-web-devicons # for dashboard-nvim
|
||||
plenary-nvim # for telescope, neogit
|
||||
telescope-nvim
|
||||
|
|
|
@ -312,3 +312,11 @@ require("lualine").setup({
|
|||
inactive_winbar = {},
|
||||
extensions = {},
|
||||
})
|
||||
|
||||
require("Comment").setup()
|
||||
|
||||
require("nvim-treesitter.configs").setup({
|
||||
context_commentstring = {
|
||||
enable = true,
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue