[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scala-mode c90bbde 176/217: Added a few prettify rules for
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scala-mode c90bbde 176/217: Added a few prettify rules for cats/scalaz operators (#112) |
Date: |
Sun, 29 Aug 2021 11:31:07 -0400 (EDT) |
branch: elpa/scala-mode
commit c90bbde5ff29c23b1545c7b29edba453fc33f393
Author: Merlin Göttlinger <megoettlinger@gmail.com>
Commit: Sam Halliday <sam.halliday@gmail.com>
Added a few prettify rules for cats/scalaz operators (#112)
---
scala-mode-prettify-symbols.el | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/scala-mode-prettify-symbols.el b/scala-mode-prettify-symbols.el
index 03ee4c6..73dd259 100644
--- a/scala-mode-prettify-symbols.el
+++ b/scala-mode-prettify-symbols.el
@@ -68,13 +68,24 @@
(":=" . ?≔))
"Prettify rules for other mixed code pieces.")
+(defconst
+ scala-mode-pretty-categories-alist
+ '(("flatMap" . ?⤜)
+ (">>=" . ?⤜)
+ ("bind" . ?⤜)
+ (">>" . ?≫)
+ ("followedBy" . ?≫)
+ ("<+>" . ?⊕))
+ "Prettify rules for category theory related operators (for use with
cats/scalaz/...).")
+
(defcustom
scala-prettify-symbols-alist
(append
scala-mode-pretty-bool-alist
scala-mode-pretty-collection-alist
scala-mode-pretty-arrows-alist
- scala-mode-pretty-misc-alist)
+ scala-mode-pretty-misc-alist
+ scala-mode-pretty-categories-alist)
"All prettify rules to be applied in scala code."
:type 'alist
:group 'scala)
- [nongnu] elpa/scala-mode e6a2755 147/217: Add stuff to readme. Small fixes. got rid fo whitespace changes., (continued)
- [nongnu] elpa/scala-mode e6a2755 147/217: Add stuff to readme. Small fixes. got rid fo whitespace changes., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 13c0f39 150/217: README changes., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode aaf1ed8 149/217: Readme update., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b6f1300 152/217: undo some of the random changes., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode e18c50e 158/217: add cleanup hooks., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode c20d6e6 164/217: Merge pull request #101 from fommil/remove-post-insert-hook, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b4da977 165/217: emacs-lisp code is GPL by definition, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 4b6ee77 166/217: point to new documentation website, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 84850e7 167/217: remove CI badge, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode ee375b9 172/217: idiomatic emacs lisp cleanups, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode c90bbde 176/217: Added a few prettify rules for cats/scalaz operators (#112),
ELPA Syncer <=
- [nongnu] elpa/scala-mode 9b8db62 181/217: upgrade CI (#127), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b67029a 184/217: fix #120, align according to forms, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 970d88e 187/217: make keywords match case sensitive (#133), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 5209142 189/217: Support for identifiers consisting from operator characters (#138), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 6f49104 193/217: scala-syntax:propertize-dollar, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 2a7b0fd 195/217: Moved ensime/emacs-scala-mode back to hvesalai/emacs-scala-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 5d28cb3 210/217: feat: support trailing commas (>= Scala 2.12.2), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode b21befd 211/217: Fix README.md indenting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode d837c96 203/217: doc: supports both Scala 2 and 3 (to some extent), not just 2.9, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 2bf5621 207/217: Update README.md, ELPA Syncer, 2021/08/29