Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/binjo/yara-mode
- Owner: binjo
- Created: 2012-11-23T05:27:18.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-08-17T04:50:26.000Z (about 2 years ago)
- Last Synced: 2024-04-20T18:49:56.474Z (5 months ago)
- Language: Emacs Lisp
- Size: 1.28 MB
- Stars: 6
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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]]