Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.46 KB

README.md

File metadata and controls

48 lines (35 loc) · 1.46 KB

Vim syntax highlighting for YARA rules

A Vim syntax-highlighting plugin for YARA rules. Covers YARA versions up to v4.3.

Screenshot

Installation

The installation depends on the plugin manager you use (if any). Here are some of the options:

vim-pathogen

If you use vim-pathogen, go into the bundle directory and clone the repository in there:

cd ~/.vim/bundle
git clone https://github.com/s3rvac/vim-syntax-yara.git

lazy.nvim

If you use lazy.nvim, add the following piece of code into your plugin configuration:

-- Vim syntax highlighting for YARA rules
-- https://github.com/s3rvac/vim-syntax-yara
{
    "s3rvac/vim-syntax-yara",
}

Manual installation

You can also install the plugin manually by copying the syntax/yara.vim file to your ~/.vim/syntax directory and the ftdetect/yara.vim file to your ~/.vim/ftdetect directory. If these directories do not exist, create them.

License

Copyright (c) 2017 Petr Zemek (s3rvac@petrzemek.net) and contributors.

Distributed under the MIT license. See the LICENSE file for more details.