Vim Syntax Highlighting for YARA Rules
A Vim syntax-highlighting file for YARA rules. Covers YARA 4.0.
The installation has two steps.
(1) If you use pathogen, simply go
bundle directory and clone the repository in there:
cd ~/.vim/bundle git clone https://github.com/s3rvac/vim-syntax-yara.git
You can also install the plugin manually by copying the
file to your
~/.vim/syntax directory. If that directory does not exist,
(2) Put the following autocommand to your
" Consider all .yar/.yara files to be YARA files. autocmd BufNewFile,BufRead *.yar,*.yara setlocal filetype=yara
Copyright (c) 2017 Petr Zemek (email@example.com) and contributors.
Distributed under the MIT license. See the
file for more details.