1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

Do not syntax-highlight ... in "My rules" pane

This commit is contained in:
Raymond Hill 2020-09-23 11:14:09 -04:00
parent 872fbfc11a
commit 5df51d63d1
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -91,6 +91,9 @@ CodeMirror.defineMode('ubo-dynamic-filtering', ( ) => {
const token = function(stream) {
if ( stream.sol() ) {
if ( stream.string === '...' ) {
return stream.skipToEnd(stream);
}
slices.length = 0;
tokens.length = 0;
const reTokens = /\S+/g;