From 04732e7e462fc2d1338f6a09cab7318d7032e76b Mon Sep 17 00:00:00 2001 From: Josef Vlach Date: Sat, 20 Jun 2020 20:19:31 +0100 Subject: [PATCH] comint mode - highlight file names containing '-' and '_' --- gdscript-comint.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdscript-comint.el b/gdscript-comint.el index 5c0adfa..a405c3d 100644 --- a/gdscript-comint.el +++ b/gdscript-comint.el @@ -92,8 +92,8 @@ When run it will kill existing process if one exists." (setq-local compilation-error-regexp-alist '( - ("^ At: res://\\([[:word:]\/]+.gd\\):\\([[:digit:]]+\\)." 1 2 nil 2 1) - ("^*Frame [[:digit:]]+ - res://\\([[:word:]\/]+.gd\\):\\([[:digit:]]+\\)." 1 2 nil 2 1))) + ("^ At: res://\\([-_[:word:]\/]+.gd\\):\\([[:digit:]]+\\)." 1 2 nil 2 1) + ("^*Frame [[:digit:]]+ - res://\\([-_[:word:]\/]+.gd\\):\\([[:digit:]]+\\)." 1 2 nil 2 1))) (setq-local compilation-mode-font-lock-keywords nil) (compilation-setup t))