aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornerohd2023-09-25 01:44:35 +0000
committerGitHub2023-09-25 01:44:35 +0000
commit0252c7b162ae5f3ff18b03ed9fe947d61a301926 (patch)
tree3b0fc1454a6aa67db09b45a158db52abeead35c2
parent17edbacfbd6209119039fdaa593da76474e78ea9 (diff)
add polkit rules files to javascript detection (#8370)
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 081b36e2..7b249fc6 100644
--- a/languages.toml
+++ b/languages.toml
@@ -546,7 +546,7 @@ name = "javascript"
scope = "source.js"
injection-regex = "(js|javascript)"
language-id = "javascript"
-file-types = ["js", "mjs", "cjs"]
+file-types = ["js", "mjs", "cjs", "rules"]
shebangs = ["node"]
roots = []
comment-token = "//"