Skip to content

Commit 7ebe190

Browse files
committed
fix(tree-sitter-dotprompt): remove internal markup from end-user features
1 parent bb87a74 commit 7ebe190

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/treesitter/grammar.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ module.exports = grammar({
6363
$.handlebars_block,
6464
$.handlebars_expression,
6565
$.handlebars_comment,
66-
$.dotprompt_marker,
6766
$.text
6867
),
6968

@@ -135,9 +134,6 @@ module.exports = grammar({
135134

136135
boolean: ($) => choice('true', 'false'),
137136

138-
dotprompt_marker: ($) =>
139-
seq('<<<dotprompt:', alias(/[^>]+/, $.marker_content), '>>>'),
140-
141-
text: ($) => /[^{<#]+|\{|<|#/,
137+
text: ($) => /[^{#]+|\{|#/,
142138
},
143139
});

0 commit comments

Comments
 (0)