https://github.com/s3rvac/vim-syntax-yara
A Vim syntax highlighting for YARA rules
https://github.com/s3rvac/vim-syntax-yara
syntax-highlighting vim yara
Last synced: 28 days ago
JSON representation
A Vim syntax highlighting for YARA rules
- Host: GitHub
- URL: https://github.com/s3rvac/vim-syntax-yara
- Owner: s3rvac
- License: mit
- Created: 2017-10-21T13:02:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-24T15:47:22.000Z (6 months ago)
- Last Synced: 2025-04-08T03:02:13.107Z (about 2 months ago)
- Topics: syntax-highlighting, vim, yara
- Language: Vim Script
- Homepage:
- Size: 65.4 KB
- Stars: 31
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vim syntax highlighting for YARA rules
A Vim syntax-highlighting plugin for [YARA](https://virustotal.github.io/yara/)
rules. Covers YARA versions up to v4.3.
## 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](https://github.com/tpope/vim-pathogen), go into the
`bundle` directory and clone the repository in there:
```bash
cd ~/.vim/bundle
git clone https://github.com/s3rvac/vim-syntax-yara.git
```### lazy.nvim
If you use [lazy.nvim](https://github.com/folke/lazy.nvim), add the following
piece of code into your plugin configuration:
```lua
-- 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`](https://raw.githubusercontent.com/s3rvac/vim-syntax-yara/master/syntax/yara.vim)
file to your `~/.vim/syntax` directory and the
[`ftdetect/yara.vim`](https://raw.githubusercontent.com/s3rvac/vim-syntax-yara/master/ftdetect/yara.vim)
file to your `~/.vim/ftdetect` directory. If these directories do not exist,
create them.## License
Copyright (c) 2017 Petr Zemek ([email protected]) and contributors.
Distributed under the MIT license. See the
[`LICENSE`](https://github.com/s3rvac/vim-syntax-yara/blob/master/LICENSE)
file for more details.