README.org
August 17, 2022 ยท View on GitHub
- yara-mode
[[http://melpa.org/#/yara-mode][file:http://melpa.org/packages/yara-mode-badge.svg]]
yara mode for GNU Emacs to edit yara related files.
(require 'yara-mode)
** How to use YARA Language Server?
-
install the
ylsfrom https://github.com/avast/ylspip install -U yls-yara -
set up a custom language server in the
init.el#+begin_src elisp (with-eval-after-load 'lsp-mode (add-to-list 'lsp-language-id-configuration '(yara-mode . "yara"))(lsp-register-client (make-lsp-client :new-connection (lsp-stdio-connection "yls") :activation-fn (lsp-activate-on "yara") :server-id 'yls))) #+end_src
#+name: YLS in GNU Emacs #+attr_org: :height 800 :width 600 [[./yara-mode-yls.png]]