Add some pretty symbols to R

This commit is contained in:
tecosaur 2020-02-03 13:03:39 +08:00
parent 78e7bb8083
commit 11c7a67d45
1 changed files with 4 additions and 2 deletions

View File

@ -875,7 +875,8 @@ Syntax highlighting is nice, so let's turn all of that on
#+BEGIN_SRC emacs-lisp
(after! ess-r-mode
(appendq! +pretty-code-symbols
'(:assign "⟵"))
'(:assign "⟵"
:multiply "×"))
(set-pretty-symbols! 'ess-r-mode
;; Functional
:def "function"
@ -893,5 +894,6 @@ Syntax highlighting is nice, so let's turn all of that on
:in "%in%"
:return "return"
;; Other
:assign "<-"))
:assign "<-"
:multiply "%*%"))
#+END_SRC