Skip to content

Commit

Permalink
Merge pull request #3 from calmyournerves/support-plain-default-tag
Browse files Browse the repository at this point in the history
Support plain default tag
  • Loading branch information
kolen authored Jul 5, 2024
2 parents 17dc914 + 4b1d30e commit 5557841
Show file tree
Hide file tree
Showing 5 changed files with 3,118 additions and 3,039 deletions.
2 changes: 1 addition & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = grammar({
$.attr_shortcut_id,
$.attr_shortcut_custom
),
attr_shortcut_class: $ => seq('.', $.css_identifier),
attr_shortcut_class: $ => seq('.', optional($.css_identifier)),
attr_shortcut_id: $ => seq('#', $.css_identifier),
// In real slim, custom shortcuts only parsed if prefix is
// configured, otherwise parsed as inline text
Expand Down
12 changes: 10 additions & 2 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5557841

Please sign in to comment.