Deactivate subword-mode in plantuml files

plantuml-mode derives from prog-mode, which in my coniguration automatically
activates subword-mode.  However, as plantuml uses barewords as strings, those
are rarely meant to be in camel-case (indeed, typos are much more common) and
subword-mode is more distracting than helpful.
This commit is contained in:
Daniel - 2021-07-13 19:40:34 +02:00
parent b85246ae7c
commit ff3227b1f9
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 5 additions and 1 deletions

View File

@ -3006,7 +3006,11 @@ With given ARG, display files in `db/important-document-path."
:init (setq plantuml-output-type "png"
plantuml-default-exec-mode 'jar
plantuml-jar-path "/usr/share/plantuml/plantuml.jar"
plantuml-indent-level 2))
plantuml-indent-level 2)
:config (progn
(add-hook 'plantuml-mode-hook
#'(lambda ()
(subword-mode -1)))))
(use-package pdf-occur
:commands (pdf-occur-global-minor-mode))