Skip to content

s3rvac/vim-syntax-yara

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Vim Syntax Highlighting for YARA Rules

A Vim syntax-highlighting file for YARA rules. Covers YARA versions up to v4.2.

Screenshot

Installation

The installation has two steps.

(1) If you use pathogen, simply go into the 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 syntax/yara.vim file to your ~/.vim/syntax directory. If that directory does not exist, create it.

(2) Put the following autocommand to your .vimrc:

" Consider all .yar/.yara files to be YARA files.
autocmd BufNewFile,BufRead *.yar,*.yara setlocal filetype=yara

License

Copyright (c) 2017 Petr Zemek (s3rvac@gmail.com) and contributors.

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

About

A Vim syntax-highlighting file for YARA rules

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published