feat(editor): try snap-indent as a replacement for yank-indent

Currently trying via my own fork of snap-indent, which has a PR pending.
This commit is contained in:
2023-05-01 00:01:45 +01:00
parent ee044356a3
commit 3bd155cb79
3 changed files with 23 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
;;; siren-snap-indent.el --- jimeh's Emacs Siren: snap-indent configuration.
;;; Commentary:
;; Basic configuration for snap-indent.
;;; Code:
(use-package snap-indent
:hook
(prog-mode . snap-indent-mode)
(tex-mode . snap-indent-mode)
:custom
(snap-indent-yank-threshold 10000)
(snap-indent-yank-skip-indent-with-prefix-arg t))
(provide 'siren-snap-indent)
;;; siren-snap-indent.el ends here