Add zig fmt support (#4198)

* Add zig fmt support

* Review changes

* Fix linter errors
This commit is contained in:
Arash Mousavi
2022-05-17 07:38:54 +09:00
committed by GitHub
parent e343148e80
commit 3d7b3a6541
7 changed files with 54 additions and 0 deletions
@@ -668,6 +668,7 @@ Notes:
* Zeek
* `zeek`!!
* Zig
* `zigfmt`
* `zls`
===============================================================================
+12
View File
@@ -7,6 +7,18 @@ Integration Information
Currently, the only supported linter for zig is zls.
===============================================================================
zigfmt *ale-zig-zigfmt*
g:ale_zig_zigfmt_executable *g:ale_zig_zigfmt_executable*
*b:ale_zig_zigfmt_executable*
Type: |String|
Default: `'zig'`
The executable that will be run for the `zig fmt` fixer.
===============================================================================
zls *ale-zig-zls*
+1
View File
@@ -3294,6 +3294,7 @@ documented in additional help files.
zeek....................................|ale-zeek-options|
zeek..................................|ale-zeek-zeek|
zig.....................................|ale-zig-options|
zigfmt................................|ale-zig-zigfmt|
zls...................................|ale-zig-zls|