Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 65 additions & 0 deletions UDLs/Adblock-Filter-List-Dark-by-Stevoisiak.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<NotepadPlus>
<UserLang name="Adblock Filter List (Dark)" ext="" udlVersion="2.1">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add darkModeTheme="yes" attribute here: if a user were to add extensions (ad, for example) so they could auto-add the highlighting, that would allow it to work with dark/light mode, as discussed in another issue. As mentioned there, it won't work if the file has no matching extension... but if a user does choose ad or similar, having this already here would make it automatically work for them, which they might appreciate.

<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00! 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1" />
<Keywords name="Numbers, prefix2" />
<Keywords name="Numbers, extras1" />
<Keywords name="Numbers, extras2" />
<Keywords name="Numbers, suffix1" />
<Keywords name="Numbers, suffix2" />
<Keywords name="Numbers, range" />
<Keywords name="Operators1">&gt; + ~ * |</Keywords>
<Keywords name="Operators2" />
<Keywords name="Folders in code1, open" />
<Keywords name="Folders in code1, middle" />
<Keywords name="Folders in code1, close" />
<Keywords name="Folders in code2, open" />
<Keywords name="Folders in code2, middle" />
<Keywords name="Folders in code2, close" />
<Keywords name="Folders in comment, open" />
<Keywords name="Folders in comment, middle" />
<Keywords name="Folders in comment, close" />
<Keywords name="Keywords1">js</Keywords>
<Keywords name="Keywords2" />
<Keywords name="Keywords3" />
<Keywords name="Keywords4" />
<Keywords name="Keywords5" />
<Keywords name="Keywords6" />
<Keywords name="Keywords7" />
<Keywords name="Keywords8" />
<Keywords name="Delimiters">00## 00#@# 00#?# 01\ 02 03( 04 05) 06[ 07 08] 09 10 11 12|| 12@@|| 13 14 15$ 16 17 18= 19 20 21((EOL)) 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="8D8D8D" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FF8040" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="F85149" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="975BF1" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16778382" />
<WordsStyle name="DELIMITERS2" fgColor="975BF1" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777358" />
<WordsStyle name="DELIMITERS3" fgColor="0080FF" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="136" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="128" />
<WordsStyle name="DELIMITERS5" fgColor="FF8000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777376" />
<WordsStyle name="DELIMITERS6" fgColor="F85149" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777408" />
<WordsStyle name="DELIMITERS7" fgColor="79C0FF" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777344" />
<WordsStyle name="DELIMITERS8" fgColor="79C0FF" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="117702655" />
</Styles>
</UserLang>
</NotepadPlus>
65 changes: 65 additions & 0 deletions UDLs/Adblock-Filter-List-Light-by-Stevoisiak.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<NotepadPlus>
<UserLang name="Adblock Filter List (Light)" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00! 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1" />
<Keywords name="Numbers, prefix2" />
<Keywords name="Numbers, extras1" />
<Keywords name="Numbers, extras2" />
<Keywords name="Numbers, suffix1" />
<Keywords name="Numbers, suffix2" />
<Keywords name="Numbers, range" />
<Keywords name="Operators1">&gt; + ~ * |</Keywords>
<Keywords name="Operators2" />
<Keywords name="Folders in code1, open" />
<Keywords name="Folders in code1, middle" />
<Keywords name="Folders in code1, close" />
<Keywords name="Folders in code2, open" />
<Keywords name="Folders in code2, middle" />
<Keywords name="Folders in code2, close" />
<Keywords name="Folders in comment, open" />
<Keywords name="Folders in comment, middle" />
<Keywords name="Folders in comment, close" />
<Keywords name="Keywords1">js</Keywords>
<Keywords name="Keywords2" />
<Keywords name="Keywords3" />
<Keywords name="Keywords4" />
<Keywords name="Keywords5" />
<Keywords name="Keywords6" />
<Keywords name="Keywords7" />
<Keywords name="Keywords8" />
<Keywords name="Delimiters">00## 00#@# 00#?# 01\ 02 03( 04 05) 06[ 07 08] 09 10 11 12|| 12@@|| 13 14 15$ 16 17 18= 19 20 21((EOL)) 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="8D8D8D" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="FF8040" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="CF222F" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="7950C7" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16778382" />
<WordsStyle name="DELIMITERS2" fgColor="975BF1" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777358" />
<WordsStyle name="DELIMITERS3" fgColor="0080FF" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="136" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="128" />
<WordsStyle name="DELIMITERS5" fgColor="FF8000" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777376" />
<WordsStyle name="DELIMITERS6" fgColor="CF222F" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777408" />
<WordsStyle name="DELIMITERS7" fgColor="0A3069" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="16777344" />
<WordsStyle name="DELIMITERS8" fgColor="0A3069" bgColor="FFFFFF" colorStyle="1" fontStyle="0" nesting="117702655" />
</Styles>
</UserLang>
</NotepadPlus>
18 changes: 18 additions & 0 deletions udl-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,24 @@
"autoCompletion": "Ada (202x)",
"autoCompletionAuthor": "generate_ac.py"
},
{
"id-name": "Adblock-Filter-List-Dark-by-Stevoisiak",
"display-name": "Adblock Filter List (Dark)",
"version": "2025-09-17",
"repository": "https://raw.githubusercontent.com/Stevoisiak/Adblock-UDL-for-NotepadPlusPlus/refs/heads/main/Adblock-Filter-List-Dark.udl.xml",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since you've uploaded the files to this repo, you should just use "repository": ""

https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/CONTRIBUTING.md#edit-udl-listjson:

requirement: Attribute must be left blank for UDL files uploaded to this repository ("repository": "")

"description": "Adblock filter list UDL",
"author": "Stevoisiak",
"homepage": "https://github.com/Stevoisiak"
},
{
"id-name": "Adblock-Filter-List-Light-by-Stevoisiak",
"display-name": "Adblock Filter List (Light)",
"version": "2025-09-17",
"repository": "https://raw.githubusercontent.com/Stevoisiak/Adblock-UDL-for-NotepadPlusPlus/refs/heads/main/Adblock-Filter-List-Light.udl.xml",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since you've uploaded the files to this repo, you should just use "repository": ""

https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/CONTRIBUTING.md#edit-udl-listjson:

requirement: Attribute must be left blank for UDL files uploaded to this repository ("repository": "")

"description": "Adblock filter list UDL",
"author": "Stevoisiak",
"homepage": "https://github.com/Stevoisiak"
},
{
"id-name": "AgenaUDL",
"display-name": "Agena",
Expand Down