mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-24 02:16:18 +04:00
Adding NestedText language support (#11987)
Co-authored-by: Yerlan Sergaziyev <yerlan.sergaziyev@rms-consult.de>
This commit is contained in:
parent
7ee66c0658
commit
887bbbc375
@ -136,6 +136,7 @@
|
||||
| move | ✓ | | | |
|
||||
| msbuild | ✓ | | ✓ | |
|
||||
| nasm | ✓ | ✓ | | |
|
||||
| nestedtext | ✓ | ✓ | ✓ | |
|
||||
| nickel | ✓ | | ✓ | `nls` |
|
||||
| nim | ✓ | ✓ | ✓ | `nimlangserver` |
|
||||
| nix | ✓ | ✓ | | `nil`, `nixd` |
|
||||
|
@ -1334,6 +1334,15 @@ injection-regex = "yml|yaml"
|
||||
name = "yaml"
|
||||
source = { git = "https://github.com/ikatyang/tree-sitter-yaml", rev = "0e36bed171768908f331ff7dff9d956bae016efb" }
|
||||
|
||||
[[language]]
|
||||
name = "nestedtext"
|
||||
scope = "text.nested"
|
||||
injection-regex = "nestedtext"
|
||||
file-types = ["nt"]
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
grammar = "yaml"
|
||||
|
||||
[[language]]
|
||||
name = "haskell"
|
||||
scope = "source.haskell"
|
||||
|
1
runtime/queries/nestedtext/highlights.scm
Normal file
1
runtime/queries/nestedtext/highlights.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: yaml
|
1
runtime/queries/nestedtext/indents.scm
Normal file
1
runtime/queries/nestedtext/indents.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: yaml
|
1
runtime/queries/nestedtext/injections.scm
Normal file
1
runtime/queries/nestedtext/injections.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: yaml
|
1
runtime/queries/nestedtext/textobjects.scm
Normal file
1
runtime/queries/nestedtext/textobjects.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: yaml
|
Loading…
Reference in New Issue
Block a user