summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric <ericv8v9s@outlook.com>2024-08-09 09:33:56 -0400
committerGitHub <noreply@github.com>2024-08-09 09:33:56 -0400
commitd15208fc19de59ea4fd4e6d777760e7d27b39e26 (patch)
tree56b38b9363f6dde4fdf32eb1367dbb74ee58ab21
parent6af7a847c74a05748ba139aed6386c0a6df0220b (diff)
Fixed highlighter marking everything as ruby string in ERB files
-rw-r--r--rc/filetype/eruby.kak3
1 files changed, 1 insertions, 2 deletions
diff --git a/rc/filetype/eruby.kak b/rc/filetype/eruby.kak
index 273fa074..9237be73 100644
--- a/rc/filetype/eruby.kak
+++ b/rc/filetype/eruby.kak
@@ -20,7 +20,6 @@ provide-module eruby %{
require-module html
add-highlighter shared/eruby regions
add-highlighter shared/eruby/html default-region ref html
- add-highlighter shared/eruby/simple-expression-tag region '<%=' '%>' ref ruby
- add-highlighter shared/eruby/simple-execution-tag region '<%' '%>' ref ruby
add-highlighter shared/eruby/simple-comment-tag region '<%#' '%>' fill comment
+ add-highlighter shared/eruby/simple-execution-tag region (?<=<%) '%>' ref ruby
}