add tree-sitter-iex (#1576)

* add tree-sitter-iex

* run docgen task

* fix url for iex submodule
imgbot
Michael Davis 3 years ago committed by GitHub
parent ed03be1450
commit 7bce91556a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
.gitmodules vendored

@ -214,3 +214,7 @@
path = helix-syntax/languages/tree-sitter-elm
url = https://github.com/elm-tooling/tree-sitter-elm
shallow = true
[submodule "helix-syntax/languages/tree-sitter-iex"]
path = helix-syntax/languages/tree-sitter-iex
url = https://github.com/elixir-lang/tree-sitter-iex
shallow = true

@ -21,6 +21,7 @@
| graphql | ✓ | | | |
| haskell | ✓ | | | `haskell-language-server-wrapper` |
| html | ✓ | | | |
| iex | ✓ | | | |
| java | ✓ | | | |
| javascript | ✓ | | ✓ | `typescript-language-server` |
| json | ✓ | | ✓ | |

@ -0,0 +1 @@
Subproject commit 3ec55082cf0be015d03148be8edfdfa8c56e77f9

@ -586,3 +586,10 @@ auto-format = true
comment-token = "--"
language-server = { command = "elm-language-server" }
indent = { tab-width = 4, unit = " " }
[[language]]
name = "iex"
scope = "source.iex"
injection-regex = "iex"
file-types = ["iex"]
roots = []

@ -0,0 +1,6 @@
((evaluation_block (prompt_line (expression) @injection.content))
(#set! injection.language "elixir")
(#set! injection.combined))
((result) @injection.content
(#set! injection.language "elixir"))
Loading…
Cancel
Save