summaryrefslogtreecommitdiff
path: root/doc/ale-dart.txt
diff options
context:
space:
mode:
authorGovind KP <reisub0@gmail.com>2018-07-01 18:25:41 +0530
committerw0rp <w0rp@users.noreply.github.com>2018-07-01 13:55:41 +0100
commit9d98e6db0c5ebc5e7166f7ad9cffb115e9b9fcc5 (patch)
tree0440e86687d0a3fe88c9fcc4b2cdadee36d9ab96 /doc/ale-dart.txt
parent06f61eeeb82f30c0fceea3d1abb231378b445fc3 (diff)
downloadale-9d98e6db0c5ebc5e7166f7ad9cffb115e9b9fcc5.zip
Added dartfmt fixer (#1683)
* Added dartfmt to Fixers * Added dartfmt specific documentation
Diffstat (limited to 'doc/ale-dart.txt')
-rw-r--r--doc/ale-dart.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/ale-dart.txt b/doc/ale-dart.txt
index c6faa5c2..a6d88dd8 100644
--- a/doc/ale-dart.txt
+++ b/doc/ale-dart.txt
@@ -35,4 +35,37 @@ g:ale_dart_dartanalyzer_executable *g:ale_dart_dartanalyzer_executable*
===============================================================================
+dartfmt *ale-dart-dartfmt*
+
+Installation
+-------------------------------------------------------------------------------
+
+Installing Dart should probably ensure that `dartfmt` is in your `$PATH`.
+
+In case it is not, try to set the executable option to its absolute path. : >
+ " Set the executable path for dartfmt to the absolute path to it.
+ let g:ale_dart_dartfmt_executable = '/usr/lib/dart/bin/dartfmt'
+ >
+
+Options
+-------------------------------------------------------------------------------
+
+g:ale_dart_dartfmt_executable *g:ale_dart_dartfmt_executable*
+ *b:ale_dart_dartfmt_executable*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to specify an absolute path to the
+ dartfmt executable (or to specify an alternate executable).
+
+
+g:ale_dart_dartfmt_options *g:ale_dart_dartfmt_options*
+ *b:ale_dart_dartfmt_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to the dartfmt fixer.
+
+===============================================================================
+
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl: