From 28b85b9aae8a7a9e867be666415eb4d2a2cf7c3a Mon Sep 17 00:00:00 2001 From: Guilherme Rigotti Date: Thu, 30 Nov 2023 11:01:07 -0300 Subject: [PATCH] Update nvim-treesitter config to use new ts_context_commentstring setup --- .config/nvim/lua/josean/plugins/nvim-treesitter.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.config/nvim/lua/josean/plugins/nvim-treesitter.lua b/.config/nvim/lua/josean/plugins/nvim-treesitter.lua index b58625e..cf02c6c 100644 --- a/.config/nvim/lua/josean/plugins/nvim-treesitter.lua +++ b/.config/nvim/lua/josean/plugins/nvim-treesitter.lua @@ -52,12 +52,10 @@ return { node_decremental = "", }, }, - -- enable nvim-ts-context-commentstring plugin for commenting tsx and jsx - context_commentstring = { - enable = true, - enable_autocmd = false, - }, }) + + -- enable nvim-ts-context-commentstring plugin for commenting tsx and jsx + require('ts_context_commentstring').setup {} end, }, }