Add missing keywords

Ensure that all the dash functions and macros are highlighted by
dash-enable-font-lock.
master
Wilfred Hughes 8 years ago
parent c1991d4c22
commit 27c2fe8460
  1. 21
      dash.el

@ -2508,12 +2508,15 @@ structure such as plist or alist."
(eval-after-load 'lisp-mode (eval-after-load 'lisp-mode
'(progn '(progn
(let ((new-keywords '( (let ((new-keywords '(
"!cons"
"!cdr"
"-each" "-each"
"--each" "--each"
"-each-indexed" "-each-indexed"
"--each-indexed" "--each-indexed"
"-each-while" "-each-while"
"--each-while" "--each-while"
"-doto"
"-dotimes" "-dotimes"
"--dotimes" "--dotimes"
"-map" "-map"
@ -2586,6 +2589,10 @@ structure such as plist or alist."
"-last" "-last"
"--last" "--last"
"-first-item" "-first-item"
"-second-item"
"-third-item"
"-fourth-item"
"-fifth-item"
"-last-item" "-last-item"
"-butlast" "-butlast"
"-count" "-count"
@ -2598,8 +2605,13 @@ structure such as plist or alist."
"--any-p" "--any-p"
"-some-p" "-some-p"
"--some-p" "--some-p"
"-some->"
"-some->>"
"-some-->"
"-all?" "-all?"
"-all-p"
"--all?" "--all?"
"--all-p"
"-every?" "-every?"
"--every?" "--every?"
"-all-p" "-all-p"
@ -2617,6 +2629,8 @@ structure such as plist or alist."
"-slice" "-slice"
"-take" "-take"
"-drop" "-drop"
"-drop-last"
"-take-last"
"-take-while" "-take-while"
"--take-while" "--take-while"
"-drop-while" "-drop-while"
@ -2640,6 +2654,10 @@ structure such as plist or alist."
"-partition-in-steps" "-partition-in-steps"
"-partition-all" "-partition-all"
"-partition" "-partition"
"-partition-after-item"
"-partition-after-pred"
"-partition-before-item"
"-partition-before-pred"
"-partition-by" "-partition-by"
"--partition-by" "--partition-by"
"-partition-by-header" "-partition-by-header"
@ -2648,10 +2666,12 @@ structure such as plist or alist."
"--group-by" "--group-by"
"-interpose" "-interpose"
"-interleave" "-interleave"
"-unzip"
"-zip-with" "-zip-with"
"--zip-with" "--zip-with"
"-zip" "-zip"
"-zip-fill" "-zip-fill"
"-zip-pair"
"-cycle" "-cycle"
"-pad" "-pad"
"-annotate" "-annotate"
@ -2675,6 +2695,7 @@ structure such as plist or alist."
"->" "->"
"->>" "->>"
"-->" "-->"
"-as->"
"-when-let" "-when-let"
"-when-let*" "-when-let*"
"--when-let" "--when-let"

Loading…
Cancel
Save