From ab9f6641f4af551e3977ea5a50af663f77c4ce07 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Mon, 4 Dec 2023 10:14:33 -0500 Subject: [PATCH] More var highlighting --- manifest.json | 2 +- var-highlighter.js | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 1c57031..efa6192 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Sage's BitBucket Addon", "description": "Ensure searches don't include forks (and other enhancements)", - "version": "1.0.9", + "version": "1.0.10", "manifest_version": 2, "browser_specific_settings": { "gecko": { diff --git a/var-highlighter.js b/var-highlighter.js index e5138e6..9fd4eef 100644 --- a/var-highlighter.js +++ b/var-highlighter.js @@ -1,6 +1,11 @@ const getVarElements = () => [ ...getClassNameElementsArray('hl-variable'), + ...getClassNameElementsArray('hl-variable-2'), ...getClassNameElementsArray('hl-def'), + ...getClassNameElementsArray('hl-attribute'), + ...getClassNameElementsArray('hl-property'), + ...getClassNameElementsArray('hl-tag'), + ...getClassNameElementsArray('hl-string'), ...getClassNameElementsArray('hl-type') ]