From db8dc0b09ffd903453160fa8009fd83c1b528fef Mon Sep 17 00:00:00 2001 From: thelastWallE <12502210+thelastWallE@users.noreply.github.com> Date: Thu, 15 Apr 2021 23:25:58 +0200 Subject: [PATCH] add probe for z-endstop --- octoprint_klipper/static/js/lib/ace/mode-klipper_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_klipper/static/js/lib/ace/mode-klipper_config.js b/octoprint_klipper/static/js/lib/ace/mode-klipper_config.js index 0ea3b8a..2415c45 100644 --- a/octoprint_klipper/static/js/lib/ace/mode-klipper_config.js +++ b/octoprint_klipper/static/js/lib/ace/mode-klipper_config.js @@ -128,7 +128,7 @@ ace.define("ace/mode/klipper_config_highlight_rules",[], function(require, expor }], "#pin": [{ token: "support.type", - regex: /[\^~!]*(?:EXP|ar|analog)\d{1,2}/, + regex: /[\^~!]*(?:EXP|ar|analog)\d{1,2}|(?:probe:z_virtual_endstop)/, caseInsensitive: true }, { token: "support.type",