From ff9bbe6406c816761f5b413a462c649c491a85fc Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Fri, 25 Dec 2020 16:53:26 -0500 Subject: [PATCH] chore(stylus) NUMBER and CSS_NUMBER are redundant --- src/languages/stylus.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/languages/stylus.js b/src/languages/stylus.js index 72dd5f97ac..4a0236399e 100644 --- a/src/languages/stylus.js +++ b/src/languages/stylus.js @@ -127,9 +127,6 @@ export default function(hljs) { // dimension hljs.CSS_NUMBER_MODE, - // number - hljs.NUMBER_MODE, - // functions // - only from beginning of line + whitespace { @@ -151,7 +148,6 @@ export default function(hljs) { VARIABLE, hljs.APOS_STRING_MODE, hljs.CSS_NUMBER_MODE, - hljs.NUMBER_MODE, hljs.QUOTE_STRING_MODE ] } @@ -173,7 +169,6 @@ export default function(hljs) { hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE, hljs.CSS_NUMBER_MODE, - hljs.NUMBER_MODE, hljs.C_BLOCK_COMMENT_MODE, modes.IMPORTANT ],