[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/jade-mode ce2400711d 107/128: get mixin parameters to high
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/jade-mode ce2400711d 107/128: get mixin parameters to highlight correctly |
Date: |
Sat, 29 Jan 2022 08:24:51 -0500 (EST) |
branch: elpa/jade-mode
commit ce2400711d1d46122cefd2c954e2df8c870188d3
Author: Matthew Conway <matthew.f.conway@gmail.com>
Commit: Matthew Conway <matthew.f.conway@gmail.com>
get mixin parameters to highlight correctly
---
example.jade | 1 +
jade-mode.el | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/example.jade b/example.jade
index a19782edd7..1795a304e0 100644
--- a/example.jade
+++ b/example.jade
@@ -28,6 +28,7 @@ html(lang="en", class = ['classOne', 'classTwo'].join(','))
span this one shouldn't higlight strings or... .other #things if else
| this one shouldn't highlight strings, and the same goes for
.keywords #ok ?
div#paren.content.example(style = 'float: left;') Content .here
#should be plain if for
+ +help("if this is .bolded #that's bad, we want a string","a second arg
or else");
div.examples#javascript
- var a = 1;
- var helperFunction = function (a) { return (a === 1 ? 'singular' :
'plural'); };
diff --git a/jade-mode.el b/jade-mode.el
index 85b1ea26ec..69505357fe 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -81,7 +81,7 @@
(defvar jade-single-quote-string-re "[']\\(\\\\.\\|[^'\n]\\)*[']"
"Regexp used to match a single-quoted string literal")
-(defvar jade-tag-declaration-char-re "[-a-zA-Z0-9_.#]"
+(defvar jade-tag-declaration-char-re "[-a-zA-Z0-9_.#+]"
"Regexp used to match a character in a tag declaration")
(defvar jade-font-lock-keywords
@@ -89,7 +89,7 @@
(,jade-keywords . font-lock-keyword-face) ;; keywords
(,jade-id-re . font-lock-variable-name-face) ;; id
(,jade-class-re . font-lock-type-face) ;; class name
- ("\\(-?//.*\\)" . font-lock-comment-face) ;; jade block comments
+ ("\\(-?//.*\\)" 1 font-lock-comment-face t) ;; jade block comments
(,jade-tag-re . font-lock-function-name-face)
;; tag name
- [nongnu] elpa/jade-mode cb82d16486 017/128: jade-mode depends on sws-mode, (continued)
- [nongnu] elpa/jade-mode cb82d16486 017/128: jade-mode depends on sws-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode e4c668bde5 023/128: Have documentation such that jade-mode is used for .jade files., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 2b093c23d2 071/128: [#20] add single quote ex. (currently incorrect), ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 03486dce69 082/128: Merge pull request #33 from mgalgs/master, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode cb0f564166 066/128: remove jade-mode dependency on sws-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode e128ce3b07 067/128: add custom indent functions for line/region, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 4e7a20db49 084/128: Merge pull request #38 from tjefferson08/37_highlight_strings_in_parens, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 40efeb499a 064/128: Indent using the number of lines in a region instead of the location of point within the original region., ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 2c830e70e0 075/128: Use \\' instead of $, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 519b455d1f 113/128: Add melpa badge and flycheck support note, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode ce2400711d 107/128: get mixin parameters to highlight correctly,
ELPA Syncer <=
- [nongnu] elpa/jade-mode fe250570ee 110/128: install cask in TCI setup, remove emacs 23 build, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 6a3a936de8 112/128: Merge pull request #57 from tjefferson08/makefile-and-mixin-cleanup, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 1ebb5134b6 119/128: Files with ".pug" extension are now detected, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 0d0bbf6073 118/128: Merge pull request #63 from robbyoconnor/fix-grammar-error, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode fd48e74686 120/128: Merge pull request #67 from Emeraude/pug-rename, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 8f8e3154e4 123/128: Derive from text-mode, remove unneeded code, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 2417d49ed1 104/128: add regression tests for lines with one color, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 2b4c25161f 103/128: put jade-mode project under control of cask, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode efee8b7bda 102/128: add Cask file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode 9907c897e7 089/128: Merge pull request #41 from tjefferson08/pipe_highlighting, ELPA Syncer, 2022/01/29