From 11c7a67d454ecfdc487753837c2839ef695722f4 Mon Sep 17 00:00:00 2001 From: tecosaur <20903656+tecosaur@users.noreply.github.com> Date: Mon, 3 Feb 2020 13:03:39 +0800 Subject: [PATCH] Add some pretty symbols to R --- config.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.org b/config.org index 7735388..84cc1f8 100644 --- a/config.org +++ b/config.org @@ -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