feat(comment): add typescriptreact filetype configuration

This commit is contained in:
sankalp committed 2025-10-16 22:58:18 +05:45
1 parent f4d7cfbd13
commit 3ce2a3a037
1 file changed
+2 -2
+2 -2
View File
@@ -38,6 +38,8 @@ return {
extra = true,
},
})
ft = require('Comment.ft')
ft.set('typescriptreact', { '//%s', '{/*%s*/}' })
end,
keys = {
{ 'gcc', mode = 'n', desc = 'Toggle comment line' },
@@ -47,8 +49,6 @@ return {
{ 'gb', mode = { 'n', 'o' }, desc = 'Toggle comment blockwise' },
{ 'gb', mode = 'x', desc = 'Toggle comment blockwise (visual)' },
},
opts = {},
},
-- Todo Comments