bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48681: Patch: Make prettify-symbols-mode work with ruby-mode


From: Dmitry Gutov
Subject: bug#48681: Patch: Make prettify-symbols-mode work with ruby-mode
Date: Sat, 29 May 2021 14:07:08 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 29.05.2021 09:10, Lars Ingebrigtsen wrote:
I've now applied William's patch, tweaking for the comments from Stefan
and Dmitry, and ended up with:

(defconst ruby--prettify-symbols-alist
   '(("<=" . ?≤)
     (">=" . ?≥)
     ("->"  . ?→)
     ("=>"  . ?⇒)
     ("::" . ?∷)
     ("lambda" . ?λ))

Feel free to tweak further.

Thanks!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]