Skip to content

Commit

Permalink
fixup! fixup! feat(search): add more special character mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner committed Sep 29, 2023
1 parent 4beb0c4 commit f8a4ecc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions deployer/src/deployer/search/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,20 +231,20 @@
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Decrement
"-- => Decrement",
# E.g. https://developer.mozilla.org/en-US/docs/Web/CSS/Comments
"/* => BlockCommentBegin",
"*/ => BlockCommentEnd",
"/* => Blockcommentcegin",
"*/ => Blockcommentend",
# E.g. https://developer.mozilla.org/en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started#html_comments
"<!-- => HTMLCommentBegin",
"--> => HTMLCommentEnd",
"<!-- => HTMLCommentbegin",
"--> => HTMLCommentend",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#hashbang_comments
"#!` => HashbangComment",
"#!` => Hashbangcomment",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#comments
"// => LineComment",
"// => Linecomment",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
"` => TemplateLiteral",
"` => Templateliteral",
# E.g. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#description
"${ => EmbeddedExpressionBegin",
"${} => EmbeddedExpression",
"${ => Embeddedexpressionbegin",
"${} => Embeddedexpression",
],
)

Expand Down

0 comments on commit f8a4ecc

Please sign in to comment.