on master help sign in
Added tree-sitter-hosts (#4950)
1840d77ath3
book/src/generated/lang-support.md+1
@@ -56,6 +56,7 @@
56| haskell | ✓ | ✓ | | `haskell-language-server-wrapper` |
56| haskell | ✓ | ✓ | | `haskell-language-server-wrapper` |
57| hcl | ✓ | | ✓ | `terraform-ls` |
57| hcl | ✓ | | ✓ | `terraform-ls` |
58| heex | ✓ | ✓ | | `elixir-ls` |
58| heex | ✓ | ✓ | | `elixir-ls` |
59+| hosts | ✓ | | | |
59| html | ✓ | | | `vscode-html-language-server` |
60| html | ✓ | | | `vscode-html-language-server` |
60| idris | | | | `idris2-lsp` |
61| idris | | | | `idris2-lsp` |
61| iex | ✓ | | | |
62| iex | ✓ | | | |
languages.toml+10
@@ -2156,3 +2156,13 @@ roots = []
2156[[grammar]]
2156[[grammar]]
2157name = "passwd"
2157name = "passwd"
2158source = { git = "https://github.com/ath3/tree-sitter-passwd", rev = "20239395eacdc2e0923a7e5683ad3605aee7b716" }
2158source = { git = "https://github.com/ath3/tree-sitter-passwd", rev = "20239395eacdc2e0923a7e5683ad3605aee7b716" }
2159+
2160+[[language]]
2161+name = "hosts"
2162+scope = "source.hosts"
2163+file-types = ["hosts"]
2164+roots = []
2165+
2166+[[grammar]]
2167+name = "hosts"
2168+source = { git = "https://github.com/ath3/tree-sitter-hosts", rev = "301b9379ce7dfc8bdbe2c2699a6887dcb73953f9" }
runtime/queries/hosts/highlights.scmnew file+3
@@ -0,0 +1,3 @@
1+(comment) @comment
2+(ip) @namespace
3+(host) @string