Sublime Text 3 and VIM syntax definition and color scheme for Adblock Plus filter lists. The Sublime Text color scheme is based on FreshCut by Dayle Rees.
- Sublime Text
- Copy all files in
sublime
directory into Sublime Text'sPackages/User
directory. - Apply the syntax for specific files via Sublime's menu. Note that it will be applied automatically to any files with a valid
[adblock]
header.
- Copy all files in
- VIM
- Copy
vim/ftdetect/abp.vim
into~/.vim/ftdetect
directory. - Copy
vim/syntax/abp.vim
into~/.vim/syntax
directory.
- Copy
- Install syntax tools
- Create and deploy files
- Sublime Text:
<path-to-syntax-tools>/build abp src/sublime
- VIM:
<path-to-syntax-tools>/build abp src/vim
- Sublime Text: