branch: externals/dash commit 27c2fe8460ae3d1d0fea847f79d483766b409b82 Author: Wilfred Hughes <m...@wilfred.me.uk> Commit: Wilfred Hughes <m...@wilfred.me.uk>
Add missing keywords Ensure that all the dash functions and macros are highlighted by dash-enable-font-lock. --- dash.el | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/dash.el b/dash.el index bb16d9e..5de9f15 100644 --- a/dash.el +++ b/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"