summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@alhur.es>2021-03-26 03:38:57 -0300
committerGitHub <noreply@github.com>2021-03-26 15:38:57 +0900
commit655f0070cd2ce575f81092d1faac739fd116b515 (patch)
treea4356862b0137006eaed26706bacdd3026fcea22 /doc
parentb1f95dc4fb15efb1d5238845c99548f2906e2ba3 (diff)
downloadale-655f0070cd2ce575f81092d1faac739fd116b515.zip
Add support for V: "v" (compiler) and "vfmt" fixer. (#3622)
* v: add "v fmt" fixer. * v: add "v" (build) linter. * v: fix vlint complaints and add documentation. * v: add tests. * v: use ale#Pad().
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-supported-languages-and-tools.txt3
-rw-r--r--doc/ale-v.txt45
-rw-r--r--doc/ale.txt4
3 files changed, 52 insertions, 0 deletions
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt
index fe19ae63..e0e0a6a3 100644
--- a/doc/ale-supported-languages-and-tools.txt
+++ b/doc/ale-supported-languages-and-tools.txt
@@ -534,6 +534,9 @@ Notes:
* `tslint`
* `tsserver`
* `typecheck`
+* V
+ * `v`
+ * `vfmt`
* VALA
* `uncrustify`
* `vala_lint`!!
diff --git a/doc/ale-v.txt b/doc/ale-v.txt
new file mode 100644
index 00000000..8c641447
--- /dev/null
+++ b/doc/ale-v.txt
@@ -0,0 +1,45 @@
+===============================================================================
+ALE V Integration *ale-v-options*
+
+
+===============================================================================
+Integration Information
+
+`v` is V's build tool. `vfmt` (called as `v fmt` from the same
+executable that does the builds) is the autoformatter/fixer.
+
+g:ale_v_v_executable *g:ale_v_v_executable*
+ *b:ale_v_v_executable*
+
+ Type: |String|
+ Default: `'v'`
+
+ The executable that will be run for the `v` linter and the `vfmt` fixer.
+
+
+===============================================================================
+v *ale-v-v*
+
+g:ale_v_v_options *g:ale_v_v_options*
+ *b:ale_v_v_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to the v linter.
+ They are injected directly after "v .".
+
+
+===============================================================================
+vfmt *ale-v-vfmt*
+
+g:ale_v_vfmt_options *g:ale_v_vfmt_options*
+ *b:ale_v_vfmt_options*
+ Type: |String|
+ Default: `''`
+
+ This variable can be set to pass additional options to the vfmt fixer.
+ They are injected directly after "v fmt".
+
+
+===============================================================================
+ vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
diff --git a/doc/ale.txt b/doc/ale.txt
index 81162348..84d4b096 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -1593,6 +1593,7 @@ g:ale_linters *g:ale_linters*
\ 'text': [],
\ 'vue': ['eslint', 'vls'],
\ 'zsh': ['shell'],
+ \ 'v': ['v'],
\}
<
This option can be used to enable only a particular set of linters for a
@@ -3051,6 +3052,9 @@ documented in additional help files.
tslint................................|ale-typescript-tslint|
tsserver..............................|ale-typescript-tsserver|
xo....................................|ale-typescript-xo|
+ v.......................................|ale-v-options|
+ v.....................................|ale-v-v|
+ vfmt..................................|ale-v-vfmt|
vala....................................|ale-vala-options|
uncrustify............................|ale-vala-uncrustify|
verilog/systemverilog...................|ale-verilog-options|