mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-26 11:37:24 +08:00
Add erlang-mode fixer for Erlang files (#4848)
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
Some checks failed
CI / build_image (push) Has been cancelled
CI / test_ale (--linters-only) (push) Has been cancelled
CI / test_ale (--neovim-06-only) (push) Has been cancelled
CI / test_ale (--neovim-08-only) (push) Has been cancelled
CI / test_ale (--vim-80-only) (push) Has been cancelled
CI / test_ale (--vim-90-only) (push) Has been cancelled
This fixer performs indentation with the Erlang mode for Emacs. The Erlang mode is maintained in the Erlang/OTP source tree. It indents some things differently than the Vim indent plugin, and provides more customization options.
This commit is contained in:
committed by
GitHub
parent
d82d968f8a
commit
4fca3824cc
@@ -98,6 +98,12 @@ let s:default_registry = {
|
||||
\ 'suggested_filetypes': ['dune'],
|
||||
\ 'description': 'Fix dune files with dune format',
|
||||
\ },
|
||||
\ 'erlang_mode': {
|
||||
\ 'function': 'ale#fixers#erlang_mode#Fix',
|
||||
\ 'suggested_filetypes': ['erlang'],
|
||||
\ 'description': 'Indent with the Erlang mode for Emacs',
|
||||
\ 'aliases': ['erlang-mode'],
|
||||
\ },
|
||||
\ 'fecs': {
|
||||
\ 'function': 'ale#fixers#fecs#Fix',
|
||||
\ 'suggested_filetypes': ['javascript', 'css', 'html'],
|
||||
|
||||
Reference in New Issue
Block a user