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:
parent
b85246ae7c
commit
ff3227b1f9
6
init.el
6
init.el
|
@ -3006,7 +3006,11 @@ With given ARG, display files in `db/important-document-path’."
|
||||||
:init (setq plantuml-output-type "png"
|
:init (setq plantuml-output-type "png"
|
||||||
plantuml-default-exec-mode 'jar
|
plantuml-default-exec-mode 'jar
|
||||||
plantuml-jar-path "/usr/share/plantuml/plantuml.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
|
(use-package pdf-occur
|
||||||
:commands (pdf-occur-global-minor-mode))
|
:commands (pdf-occur-global-minor-mode))
|
||||||
|
|
Loading…
Reference in New Issue