vim-syntax-yara


Ⅰ. 插件描述

A Vim syntax-highlighting file for YARA rules covering YARA 3.11

Ⅱ. 基本信息

创建日期:  2017-10-19
使用用户:  2
Github星:  8
插件作者:  Petr Zemek

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 's3rvac/vim-syntax-yara'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 's3rvac/vim-syntax-yara'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 's3rvac/vim-syntax-yara'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/s3rvac/vim-syntax-yara

Ⅳ. 文档说明

Vim Syntax Highlighting for YARA Rules

A Vim syntax-highlighting file for YARA

  1. Covers YARA 3.11.

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.

添加新评论