From 8df79a20d84592eec75901cf6553c9dddf93aba2 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Tue, 25 Apr 2023 02:13:49 +0200 Subject: [PATCH] Testing out Hosts linguist stuff The documentation on the relevant tommasov and VSCode repos could've been better, admittedly. --- .gitattributes | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index e864e7281..a913e6ed4 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,10 @@ # Attribute definitions [attr]adb linguist-detectable linguist-language=AdBlock -[attr]json -linguist-detectable linguist-language=JSONC +[attr]json linguist-detectable linguist-language=JSONC +[attr]hosts linguist-detectable linguist-language=Hosts + +# Hosts filter files test ( https://marketplace.visualstudio.com/items?itemName=tommasov.hosts / https://github.com/AdguardTeam/VscodeAdblockSyntax/issues/70#issuecomment-1510467839 ) +AntiMalwareHosts.txt hosts # AdBlock filter files *.txt adb