feat(editor): improve code folding with origami

Add and configure origami, and enable it for majro modes where it seems
to do a good job, and keep using hideshow for other major modes.
This commit is contained in:
2022-07-20 21:07:01 +01:00
parent f6a1d44f03
commit 7c253d986c
17 changed files with 130 additions and 93 deletions

View File

@@ -7,7 +7,7 @@
;;; Code:
(require 'siren-dap)
(require 'siren-folding)
(require 'siren-hideshow)
(require 'siren-lsp)
(require 'siren-projectile)
(require 'siren-string-inflection)
@@ -60,9 +60,9 @@
ruby-use-smie t
tab-width 2)
(tree-sitter-mode +1)
(siren-folding)
(subword-mode +1))
(tree-sitter-mode t)
(hs-minor-mode t)
(subword-mode t))
:init
(with-eval-after-load "projectile"