Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 9adb1865..04889068 100644
--- a/languages.toml
+++ b/languages.toml
@@ -4004,3 +4004,21 @@ indent = { tab-width = 4, unit = " " }
[[grammar]]
name = "vento"
source = { git = "https://github.com/ventojs/tree-sitter-vento", rev = "3321077d7446c1b3b017c294fd56ce028ed817fe" }
+
+[[language]]
+name = "nginx"
+scope = "source.nginx"
+injection-regex = "nginx"
+file-types = [
+ { glob = "sites-available/*.conf" },
+ { glob = "sites-enabled/*.conf" },
+ { glob = "nginx.conf" },
+ { glob = "conf.d/*.conf" }
+]
+roots = ["nginx.conf"]
+comment-token = "#"
+indent = { tab-width = 4, unit = " " }
+
+[[grammar]]
+name = "nginx"
+source = { git = "https://gitlab.com/joncoole/tree-sitter-nginx", rev = "b4b61db443602b69410ab469c122c01b1e685aa0" }