Add some pretty symbols to R
This commit is contained in:
parent
78e7bb8083
commit
11c7a67d45
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue