Skip to content

Commit

Permalink
plantuml: minor clean up
Browse files Browse the repository at this point in the history
This commit removes the unnecessary check on `spacemacs-indent-sensitive-modes` variable,
which is defined in `spacemacs-default` layer.
  • Loading branch information
lebensterben authored Aug 6, 2022
1 parent 4f6413e commit eef9f4e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions layers/+lang/plantuml/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eef9f4e

Please sign in to comment.