[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/jade-mode 6a3a936de8 112/128: Merge pull request #57 from
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/jade-mode 6a3a936de8 112/128: Merge pull request #57 from tjefferson08/makefile-and-mixin-cleanup |
Date: |
Sat, 29 Jan 2022 08:24:52 -0500 (EST) |
branch: elpa/jade-mode
commit 6a3a936de8fa7600da38e674316f04331dc504d5
Merge: ecc1253196 fe250570ee
Author: Travis Jefferson <tjefferson@signpost.com>
Commit: Travis Jefferson <tjefferson@signpost.com>
Merge pull request #57 from tjefferson08/makefile-and-mixin-cleanup
Makefile and mixin cleanup
---
.travis.yml | 8 +++++++-
Makefile | 3 +++
example.jade | 3 ++-
jade-mode.el | 3 ++-
4 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index a6c03325f0..b218d954a1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,10 @@
language: generic
+
env:
global:
- CURL=curl -fsSkL --retry 9 --retry-delay 9
matrix:
- - EMACS=emacs AKA=emacs23
+# - EMACS=emacs AKA=emacs23
- EMACS=emacs24
# - EMACS=emacs-snapshot
# matrix:
@@ -13,6 +14,11 @@ before_install:
- sudo add-apt-repository -y ppa:cassou/emacs
- sudo apt-get update -qq
- sudo apt-get install -qq $EMACS
+ - curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
+ - export PATH="/home/travis/.cask/bin:$PATH"
+ - cask install
+ - which cask
+ - cask --version
install:
- if test $EMACS = emacs; then
$CURL
https://raw.githubusercontent.com/ohler/ert/fb3c278d/lisp/emacs-lisp/ert.el -o
ert.el;
diff --git a/Makefile b/Makefile
index 6d1c66ddc9..f7d646ba8c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,7 @@
+.PHONY: test
+
test:
cask exec ert-runner -l jade-mode.el
+
# Local Variables:
# indent-tabs-mode: t
diff --git a/example.jade b/example.jade
index 1795a304e0..c4b5d9e37e 100644
--- a/example.jade
+++ b/example.jade
@@ -28,7 +28,8 @@ 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");
+ +helpMe("if this is .bolded #that's bad, we want a string","a second
arg or else");
+ //- +mixIn('do not highlight mixins in comment blocks')
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 69505357fe..928f2648d4 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -89,8 +89,9 @@
(,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
- ("\\(-?//.*\\)" 1 font-lock-comment-face t) ;; jade block comments
(,jade-tag-re . font-lock-function-name-face)
+ (,jade-mixin-re 0 font-lock-constant-face t)
+ ("\\(-?//.*\\)" 1 font-lock-comment-face t) ;; jade block comments
;; tag name
;; remove highlighting from literal content following tag/class/id
- [nongnu] elpa/jade-mode 2b093c23d2 071/128: [#20] add single quote ex. (currently incorrect), (continued)
- [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, 2022/01/29
- [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 <=
- [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
- [nongnu] elpa/jade-mode 3951fc4138 108/128: add phony `test' makefile target, ELPA Syncer, 2022/01/29
- [nongnu] elpa/jade-mode dad17dc86c 124/128: Fix package headers, ELPA Syncer, 2022/01/29