Open tigger04 opened 3 years ago
Hi
I love the plugin but it doesn't play nice with YAML.
With global-aggressive-indent-mode set, the following has no effect:
global-aggressive-indent-mode
(add-to-list 'aggressive-indent-excluded-modes 'yaml-mode)
the contents of aggressive-indent-excluded-modes is:
aggressive-indent-excluded-modes
(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.
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.