Skip to content

Commit bd33485

Browse files
committed
🚑 Fix comment body
1 parent f766495 commit bd33485

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

grammar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ export default grammar({
916916
$._command_string,
917917
),
918918

919-
comment: $ => seq('#', /\s*/, alias(/[^\n]*/, $.body)),
919+
comment: $ => seq('#', /[ \t\v]*/, alias(/[^\n]*/, $.body)),
920920
_space: _ => prec(-1, repeat1(/[ \t]/)),
921921
},
922922
});

tree-sitter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
],
1616
"metadata": {
17-
"version": "0.1.3",
17+
"version": "0.1.4",
1818
"license": "MIT",
1919
"description": "tmux grammar for tree-sitter",
2020
"authors": [

0 commit comments

Comments
 (0)