Skip to content

Commit

Permalink
Added tree-sitter-hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
ath3 committed Dec 1, 2022
1 parent 67415e0 commit 736eaad
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
| haskell || | | `haskell-language-server-wrapper` |
| hcl || || `terraform-ls` |
| heex ||| | `elixir-ls` |
| hosts || | | |
| html || | | `vscode-html-language-server` |
| idris | | | | `idris2-lsp` |
| iex || | | |
Expand Down
11 changes: 11 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1994,3 +1994,14 @@ grammar = "qmljs"
[[grammar]]
name = "qmljs"
source = { git = "https://github.com/yuja/tree-sitter-qmljs", rev = "0b2b25bcaa7d4925d5f0dda16f6a99c588a437f1" }

[[language]]
name = "hosts"
scope = "source.hosts"
file-types = ["hosts"]
roots = []
grammar = "hosts"

[[grammar]]
name = "hosts"
source = { git = "https://github.com/ath3/tree-sitter-hosts", rev = "301b9379ce7dfc8bdbe2c2699a6887dcb73953f9" }
3 changes: 3 additions & 0 deletions runtime/queries/hosts/highlights.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(comment) @comment
(ip) @namespace
(host) @string

0 comments on commit 736eaad

Please sign in to comment.