Skip to content

Commit 5557841

Browse files
authored
Merge pull request #3 from calmyournerves/support-plain-default-tag
Support plain default tag
2 parents 17dc914 + 4b1d30e commit 5557841

File tree

5 files changed

+3118
-3039
lines changed

5 files changed

+3118
-3039
lines changed

grammar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = grammar({
102102
$.attr_shortcut_id,
103103
$.attr_shortcut_custom
104104
),
105-
attr_shortcut_class: $ => seq('.', $.css_identifier),
105+
attr_shortcut_class: $ => seq('.', optional($.css_identifier)),
106106
attr_shortcut_id: $ => seq('#', $.css_identifier),
107107
// In real slim, custom shortcuts only parsed if prefix is
108108
// configured, otherwise parsed as inline text

src/grammar.json

+10-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/node-types.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)