Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-02T07:40:54.000Z (9 months ago)
- Last Synced: 2024-04-09T10:34:05.725Z (7 months ago)
- Topics: syntax-highlighting, vim, yara
- Language: Vim Script
- Homepage:
- Size: 64.5 KB
- Stars: 29
- Watchers: 4
- Forks: 6
- 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.![Screenshot](screenshot.png "Syntax highlighting in action.")
## 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.