summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorEloi Torrents2023-01-23 18:10:27 +0000
committerGitHub2023-01-23 18:10:27 +0000
commit7e191f59157d024e8b8aaabc62f292183d39f6f9 (patch)
tree830236d3e9f2b0c18d22a4f80b257a53bfbc639d /languages.toml
parent361a8344866841799199e362285b119960151eff (diff)
Support sagemath language (#5649)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index d1ab92b6..1685c2a3 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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"