mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
Add support for Purescript language (#4242)
This commit is contained in:
parent
13d81b7478
commit
2d958d6c50
@ -86,6 +86,7 @@
|
|||||||
| prisma | ✓ | | | `prisma-language-server` |
|
| prisma | ✓ | | | `prisma-language-server` |
|
||||||
| prolog | | | | `swipl` |
|
| prolog | | | | `swipl` |
|
||||||
| protobuf | ✓ | | ✓ | |
|
| protobuf | ✓ | | ✓ | |
|
||||||
|
| purescript | ✓ | | | `purescript-language-server` |
|
||||||
| python | ✓ | ✓ | ✓ | `pylsp` |
|
| python | ✓ | ✓ | ✓ | `pylsp` |
|
||||||
| r | ✓ | | | `R` |
|
| r | ✓ | | | `R` |
|
||||||
| racket | | | | `racket` |
|
| racket | | | | `racket` |
|
||||||
|
@ -723,6 +723,19 @@ indent = { tab-width = 2, unit = " " }
|
|||||||
name = "haskell"
|
name = "haskell"
|
||||||
source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "b6ec26f181dd059eedd506fa5fbeae1b8e5556c8" }
|
source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "b6ec26f181dd059eedd506fa5fbeae1b8e5556c8" }
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "purescript"
|
||||||
|
scope = "source.purescript"
|
||||||
|
injection-regex = "purescript"
|
||||||
|
file-types = ["purs"]
|
||||||
|
roots = ["spago.dhall", "bower.json"]
|
||||||
|
comment-token = "--"
|
||||||
|
language-server = { command = "purescript-language-server", args = ["--stdio"] }
|
||||||
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
auto-format = true
|
||||||
|
formatter = { command = "purs-tidy", args = ["format"] }
|
||||||
|
grammar = "haskell"
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "zig"
|
name = "zig"
|
||||||
scope = "source.zig"
|
scope = "source.zig"
|
||||||
|
1
runtime/queries/purescript/highlights.scm
Normal file
1
runtime/queries/purescript/highlights.scm
Normal file
@ -0,0 +1 @@
|
|||||||
|
; inherits: haskell
|
1
runtime/queries/purescript/injections.scm
Normal file
1
runtime/queries/purescript/injections.scm
Normal file
@ -0,0 +1 @@
|
|||||||
|
; inherits: haskell
|
1
runtime/queries/purescript/locals.scm
Normal file
1
runtime/queries/purescript/locals.scm
Normal file
@ -0,0 +1 @@
|
|||||||
|
; inherits: haskell
|
Loading…
Reference in New Issue
Block a user