Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 753 Bytes

README.org

File metadata and controls

27 lines (20 loc) · 753 Bytes

yara-mode

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?

(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)))

./yara-mode-yls.png