mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-18 13:07:06 +04:00
Support sagemath language (#5649)
This commit is contained in:
parent
361a834486
commit
7e191f5915
@ -109,6 +109,7 @@
|
||||
| ron | ✓ | | ✓ | |
|
||||
| ruby | ✓ | ✓ | ✓ | `solargraph` |
|
||||
| rust | ✓ | ✓ | ✓ | `rust-analyzer` |
|
||||
| sage | ✓ | ✓ | | |
|
||||
| scala | ✓ | | ✓ | `metals` |
|
||||
| scheme | ✓ | | | |
|
||||
| scss | ✓ | | | `vscode-css-language-server` |
|
||||
|
@ -2109,3 +2109,13 @@ formatter = { command = "dhall" , args = ["format"] }
|
||||
[[grammar]]
|
||||
name = "dhall"
|
||||
source = { git = "https://github.com/jbellerb/tree-sitter-dhall", rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" }
|
||||
|
||||
[[language]]
|
||||
name = "sage"
|
||||
scope = "source.sage"
|
||||
file-types = ["sage"]
|
||||
injection-regex = "sage"
|
||||
roots = []
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
grammar = "python"
|
||||
|
1
runtime/queries/sage/highlights.scm
Normal file
1
runtime/queries/sage/highlights.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: python
|
2
runtime/queries/sage/injections.scm
Normal file
2
runtime/queries/sage/injections.scm
Normal file
@ -0,0 +1,2 @@
|
||||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
1
runtime/queries/sage/textobjects.scm
Normal file
1
runtime/queries/sage/textobjects.scm
Normal file
@ -0,0 +1 @@
|
||||
; inherits: python
|
Loading…
Reference in New Issue
Block a user