thomasgreiner / abp-syntax Goto Github PK
View Code? Open in Web Editor NEWAdblock Plus Filter List syntax
Adblock Plus Filter List syntax
The comment ! spox.com,serienjunkies.de,bz-berlin.de#@#a[href^="https://click.plista.com/pets"]
should have the same gray for each character but due to :
it is interpreted as a key-value comment.
Therefore, no key should be recognized in a comment if it contains characters other than a-z
, A-Z
, 0-9
, -
and _
.
Hi! I have tried to install the highlighting for vim (and nvim), but without success.
I have copied the files as explained:
➜ ~ tree $HOME/.vim
/Users/t/.vim
├── ftdetect
│ └── abp.vim
└── syntax
└── abp.vim
2 directories, 2 files
And I have opened the example.txt with vim, but there is no highlighting at all.
OS: macOS 11.3, vim 8.2.2029 (same with NVIM v0.4.4)
Filters such as ||example.com/*-test^
are shown in a single color but it might be beneficial to visually distinguish the custom separators ||
, *
and ^
from the static text parts of the selector. For that it would be sufficient to slightly darken those characters.
The same could be done for separators such as ,
and |
in the filter options.
Hello,
will be nice to add in the readme that you need to select abp-syntax in the color scheme :)
cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.