A Vim syntax-highlighting plugin for YARA rules. Covers YARA versions up to v4.3.
The installation depends on the plugin manager you use (if any). Here are some of the options:
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
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",
}
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.
Copyright (c) 2017 Petr Zemek ([email protected]) and contributors.
Distributed under the MIT license. See the
LICENSE
file for more details.