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)
(set-pretty-symbols! '(js2-mode web-mode)
'(;; Functional
:def "function"
:lambda "() =>"
:composition "compose"
;; Types
:null "null"
:true "true" :false "false"
;; Flow
:not "!"
:and "&&" :or "||"
:for "for"
:return "return"
;; Other
:yield "import")))
;; Functional
:def "function"
:lambda "() =>"
:composition "compose"
;; Types
:null "null"
:true "true" :false "false"
;; Flow
:not "!"
:and "&&" :or "||"
:for "for"
:return "return"
;; Other
:yield "import"))
;;