Added dartfmt fixer (#1683)

* Added dartfmt to Fixers
* Added dartfmt specific documentation
This commit is contained in:
Govind KP
2018-07-01 18:25:41 +05:30
committed by w0rp
parent 06f61eeeb8
commit 9d98e6db0c
7 changed files with 99 additions and 2 deletions

View File

@@ -210,6 +210,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['qml'],
\ 'description': 'Fix QML files with qmlfmt.',
\ },
\ 'dartfmt': {
\ 'function': 'ale#fixers#dartfmt#Fix',
\ 'suggested_filetypes': ['dart'],
\ 'description': 'Fix Dart files with dartfmt.',
\ },
\}
" Reset the function registry to the default entries.