Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/binjo/yara-mode

yara-mode for GNU Emacs
https://github.com/binjo/yara-mode

Last synced: about 2 months ago
JSON representation

yara-mode for GNU Emacs

Awesome Lists containing this project

README

        

* 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 `yls` from https://github.com/avast/yls
`pip 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]]