Skip to content

Commit

Permalink
fix: fixes syntax highlighting of !q conversion specs
Browse files Browse the repository at this point in the history
  • Loading branch information
ju1ius committed Nov 23, 2023
1 parent 271cf6c commit fbc9cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clisnips/tui/highlighters/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class CommandLexer(RegexLexer):
(ARG_NAME, Command.ArgName),
(rf'(\.) ({IDENTIFIER})', bygroups(Punctuation, Command.Identifier)),
(rf'(\[) ({ELEMENT_INDEX})', bygroups(Punctuation, Command.ElementIndex)),
(r'(!) ([rsa])', bygroups(Punctuation, Command.Conversion)),
(r'(!) ([rsaq])', bygroups(Punctuation, Command.Conversion)),
(r'(:) ([^}]+)', bygroups(Punctuation, Command.FormatSpec)),
],
}
Expand Down

0 comments on commit fbc9cb3

Please sign in to comment.