I am looking to activate vim style marker folding using origami without losing the default functionality. I know I can activate the marker options like so:
(add-hook 'prog-mode-hook
(lambda () (setq-local origami-fold-style 'triple-braces)))
but then the default behavior is overwritten.
In case it matters: I am using Spacemacs
.
origami
auto folding methods. For example, when coding in Common Lisp or Emacs Lisp it will folddefun
etc. Quite standard stuff really. I don't think it is specific to Spacemacs. – Dionysis Feb 17 '19 at 18:49folding.el
origami-mode
orhide-show
. Withorigami-mode
you get 1 parser per buffer, so you'd have to write you're own parser that understood the "default" folding and combined it with markers. – nega Feb 17 '19 at 22:53