Support sagemath language (#5649)
This commit is contained in:
parent
361a834486
commit
7e191f5915
5 changed files with 15 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue