diff options
| author | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
|---|---|---|
| committer | anand <anand.panchdhari@gmail.com> | 2025-12-17 15:57:55 +0530 |
| commit | b7ef29a8886a57aadb787807a7c6cf74c1f0ed3a (patch) | |
| tree | 366a68240fbc9da6b1d567bd6c46d1350ad814de /nvim/lsp/yls.lua | |
Nixos
Diffstat (limited to 'nvim/lsp/yls.lua')
| -rwxr-xr-x | nvim/lsp/yls.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nvim/lsp/yls.lua b/nvim/lsp/yls.lua new file mode 100755 index 0000000..4722d56 --- /dev/null +++ b/nvim/lsp/yls.lua @@ -0,0 +1,14 @@ +---@brief +--- +--- https://pypi.org/project/yls-yara/ +--- +--- An YLS plugin adding YARA linting capabilities. +--- +--- This plugin runs yara.compile on every save, parses the errors, and returns list of diagnostic messages. +--- +--- Language Server: https://github.com/avast/yls +return { + cmd = { 'yls', '-vv' }, + filetypes = { 'yar', 'yara' }, + root_markers = { '.git' }, +} |
