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

Loading…
Cancel
Save