From c7a88a07b9287db9c129914483f6b3ae1ab5404c Mon Sep 17 00:00:00 2001 From: awy Date: Fri, 14 Nov 2025 23:43:38 +0300 Subject: init --- .config/nvim/lsp/yls.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .config/nvim/lsp/yls.lua (limited to '.config/nvim/lsp/yls.lua') diff --git a/.config/nvim/lsp/yls.lua b/.config/nvim/lsp/yls.lua new file mode 100644 index 0000000..cfa35df --- /dev/null +++ b/.config/nvim/lsp/yls.lua @@ -0,0 +1,16 @@ +---@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 + +---@type vim.lsp.Config +return { + cmd = { 'yls', '-vv' }, + filetypes = { 'yar', 'yara' }, + root_markers = { '.git' }, +} -- cgit v1.2.3