diff options
| author | Eric <ericv8v9s@outlook.com> | 2024-08-09 09:33:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-09 09:33:56 -0400 |
| commit | d15208fc19de59ea4fd4e6d777760e7d27b39e26 (patch) | |
| tree | 56b38b9363f6dde4fdf32eb1367dbb74ee58ab21 | |
| parent | 6af7a847c74a05748ba139aed6386c0a6df0220b (diff) | |
Fixed highlighter marking everything as ruby string in ERB files
| -rw-r--r-- | rc/filetype/eruby.kak | 3 |
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 } |
