feat(comment): add typescriptreact filetype configuration
This commit is contained in:
1 file changed
+2
-2
@@ -38,6 +38,8 @@ return {
|
|||||||
extra = true,
|
extra = true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
ft = require('Comment.ft')
|
||||||
|
ft.set('typescriptreact', { '//%s', '{/*%s*/}' })
|
||||||
end,
|
end,
|
||||||
keys = {
|
keys = {
|
||||||
{ 'gcc', mode = 'n', desc = 'Toggle comment line' },
|
{ 'gcc', mode = 'n', desc = 'Toggle comment line' },
|
||||||
@@ -47,8 +49,6 @@ return {
|
|||||||
{ 'gb', mode = { 'n', 'o' }, desc = 'Toggle comment blockwise' },
|
{ 'gb', mode = { 'n', 'o' }, desc = 'Toggle comment blockwise' },
|
||||||
{ 'gb', mode = 'x', desc = 'Toggle comment blockwise (visual)' },
|
{ 'gb', mode = 'x', desc = 'Toggle comment blockwise (visual)' },
|
||||||
},
|
},
|
||||||
|
|
||||||
opts = {},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Todo Comments
|
-- Todo Comments
|
||||||
|
|||||||
Reference in new issue
Block a user