mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-30 08:04:31 +08:00
Add Yara yls support (#4886)
This adds Yara support to ALE using Avast's language server for Yara: https://avast.github.io/yls/ A ".git" folder is used to determine the project_root so this means the Yara rules must be in a git repo for the integration to work. The server only have 1 optional argument (-v, --verbose). Since this is the case, no additional configuration options are available. --------- Co-authored-by: w0rp <w0rp@users.noreply.github.com>
This commit is contained in:
@@ -737,6 +737,8 @@ Notes:
|
||||
* `yq`
|
||||
* YANG
|
||||
* `yang-lsp`
|
||||
* Yara
|
||||
* `yls`
|
||||
* Zeek
|
||||
* `zeek`!!
|
||||
* Zig
|
||||
|
||||
22
doc/ale-yara.txt
Normal file
22
doc/ale-yara.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
===============================================================================
|
||||
ALE Yara Integration *ale-yara-options*
|
||||
*ale-integration-yara*
|
||||
|
||||
===============================================================================
|
||||
Integration Information
|
||||
|
||||
Currently, the only supported linter for yara is yls.
|
||||
|
||||
|
||||
===============================================================================
|
||||
yls *ale-yara-yls*
|
||||
|
||||
g:ale_yara_yls_executable *g:ale_yara_yls_executable*
|
||||
*b:ale_yara_yls_executable*
|
||||
Type: |String|
|
||||
Default: `'yls'`
|
||||
|
||||
This variable can be modified to change the executable path for `yls`.
|
||||
|
||||
===============================================================================
|
||||
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|
||||
@@ -3525,6 +3525,8 @@ documented in additional help files.
|
||||
yq....................................|ale-yaml-yq|
|
||||
yang....................................|ale-yang-options|
|
||||
yang-lsp..............................|ale-yang-lsp|
|
||||
yara....................................|ale-yara-options|
|
||||
yls...................................|ale-yara-yls|
|
||||
zeek....................................|ale-zeek-options|
|
||||
zeek..................................|ale-zeek-zeek|
|
||||
zig.....................................|ale-zig-options|
|
||||
|
||||
Reference in New Issue
Block a user