Skip to content

Commit

Permalink
fix(less) parens alone are not worthy of relevance
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed May 11, 2021
1 parent ba35648 commit 2b9ca9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/languages/less.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ export default function(hljs) {
begin: '::(' + css.PSEUDO_ELEMENTS.join('|') + ')'
},
{
begin: '\\(',
end: '\\)',
begin: /\(/,
end: /\)/,
relevance: 0,
contains: VALUE_WITH_RULESETS
}, // argument list of parametric mixins
{
Expand Down

0 comments on commit 2b9ca9f

Please sign in to comment.