Skip to content

Commit af5d4a1

Browse files
committed
Add default comment style for Vue
This makes it so that the user does not need to configure `commentstring` for Vue files to `<!-- %s -->` themselves with a `FileType` autocmd. Related to !14
1 parent a234c51 commit af5d4a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/ts_context_commentstring/internal.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ M.config = {
2222
php = '// %s',
2323
html = '<!-- %s -->',
2424
svelte = '<!-- %s -->',
25+
vue = '<!-- %s -->',
2526

2627
-- Languages that can have multiple types of comments
2728
tsx = {

0 commit comments

Comments
 (0)