aggressive-indent-mode
aggressive-indent-mode copied to clipboard
Unable to disable for YAML mode
Hi
I love the plugin but it doesn't play nice with YAML.
With global-aggressive-indent-mode
set, the following has no effect:
(add-to-list 'aggressive-indent-excluded-modes 'yaml-mode)
the contents of aggressive-indent-excluded-modes
is:
(evil-normal-state evil-replace-state elm-mode haskell-mode inf-ruby-mode makefile-mode makefile-gmake-mode python-mode sql-interactive-mode text-mode yaml-mode)
when I open a YAML file with yaml-mode enabled, I find that aggressive-indent mode is still active. Occasionally I don't notice and it makes a minor change and wreaks havoc as YAML is intensely sensitive to indentation.