plantuml: minor clean up

This commit removes the unnecessary check on `spacemacs-indent-sensitive-modes` variable,
which is defined in `spacemacs-default` layer.
This commit is contained in:
Lucius Hu 2022-08-06 22:19:26 +00:00 committed by GitHub
parent 4f6413e82f
commit eef9f4ed7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -44,11 +44,10 @@
(progn
;; Our default is jar execution, not server as server is not working reliable see #13574
(setq plantuml-default-exec-mode 'jar)
(when (boundp 'spacemacs-indent-sensitive-modes)
;; for now plantuml electric indentation is buggy and does not
;; really work, let's disable auto-indentation on paste for
;; this mode
(add-to-list 'spacemacs-indent-sensitive-modes 'plantuml-mode))
;; for now plantuml electric indentation is buggy and does not
;; really work, let's disable auto-indentation on paste for
;; this mode
(add-to-list 'spacemacs-indent-sensitive-modes 'plantuml-mode)
(spacemacs/declare-prefix-for-mode 'plantuml-mode
"mc" "compile")
(spacemacs/set-leader-keys-for-major-mode 'plantuml-mode