Merge pull request #706 from ar1a/javascript-pretty-symbols

lang/javascript: fix set-pretty-symbols!
This commit is contained in:
Henrik Lissner 2018-06-20 10:57:19 +02:00 committed by GitHub
commit 5af45df094
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,20 +2,20 @@
(after! (:any js2-mode web-mode) (after! (:any js2-mode web-mode)
(set-pretty-symbols! '(js2-mode web-mode) (set-pretty-symbols! '(js2-mode web-mode)
'(;; Functional ;; Functional
:def "function" :def "function"
:lambda "() =>" :lambda "() =>"
:composition "compose" :composition "compose"
;; Types ;; Types
:null "null" :null "null"
:true "true" :false "false" :true "true" :false "false"
;; Flow ;; Flow
:not "!" :not "!"
:and "&&" :or "||" :and "&&" :or "||"
:for "for" :for "for"
:return "return" :return "return"
;; Other ;; Other
:yield "import"))) :yield "import"))
;; ;;