origami.el
origami.el copied to clipboard
support of scala?
Scala is syntactically (and otherwise :D) quite a complex language, that I don't use. Happy to take a PR for this but, honestly, I'm unlikely to dig in to this any time soon.
In the meantime you might want to use the indentation parser?
https://github.com/gregsexton/origami.el/issues/69 may be of interest to you :)
I've been happy with the c style parser and scala:
(setq origami-parser-alist (cons '(scala-mode . origami-c-style-parser) origami-parser-alist))
Maybe https://github.com/emacs-lsp/lsp-origami works for Scala (Metals?) as well?