diff options
author | ghsang <66662835+ghsang@users.noreply.github.com> | 2021-07-16 16:20:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-16 16:20:47 +0900 |
commit | d6dbb5398e805466ab30b4e7f1c78d7c4168fcf8 (patch) | |
tree | 6720ada3fa39907eaf358594badaf22ad0105f5e /doc/ale-dart.txt | |
parent | d8f4e8b7081724c0b9ff2491dd68409b3da69b0f (diff) | |
download | ale-d6dbb5398e805466ab30b4e7f1c78d7c4168fcf8.zip |
Add support for `dart format` fixer (#3764)
Diffstat (limited to 'doc/ale-dart.txt')
-rw-r--r-- | doc/ale-dart.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/ale-dart.txt b/doc/ale-dart.txt index 01089252..983a23d1 100644 --- a/doc/ale-dart.txt +++ b/doc/ale-dart.txt @@ -58,6 +58,37 @@ g:ale_dart_dartanalyzer_executable *g:ale_dart_dartanalyzer_executable* This variable can be set to change the path to dartanalyzer. +=============================================================================== +dart-format *ale-dart-format* + +Installation +------------------------------------------------------------------------------- + +Installing Dart should probably ensure that `dart` is in your `$PATH`. + +In case it is not, try to set the executable option to its absolute path. : > + " Set the executable path for dart to the absolute path to it. + let g:ale_dart_format_executable = '/usr/lib/dart/bin/dart' + > + +Options +------------------------------------------------------------------------------- + +g:ale_dart_format_executable *g:ale_dart_format_executable* + *b:ale_dart_format_executable* + Type: |String| + Default: `'dart'` + + This variable can be set to specify an absolute path to the + format executable (or to specify an alternate executable). + + +g:ale_dart_format_options *g:ale_dart_format_options* + *b:ale_dart_format_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to the dart format fixer. =============================================================================== dartfmt *ale-dart-dartfmt* |