aggressive-indent-mode icon indicating copy to clipboard operation
aggressive-indent-mode copied to clipboard

Unable to disable for YAML mode

Open tigger04 opened this issue 3 years ago • 0 comments

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.

tigger04 avatar Apr 24 '21 10:04 tigger04