diff options
author | g-s-k | 2022-12-17 19:44:08 +0000 |
---|---|---|
committer | GitHub | 2022-12-17 19:44:08 +0000 |
commit | 042d03269ecbe68e0461548bcf6918324c967bbb (patch) | |
tree | c6cea30f1401ce6d44ae55b2b3e99637847e855b /languages.toml | |
parent | aecb524e503363c2eed2a5a72d8fd881aae18e4b (diff) |
Add support for MATLAB/Octave files (#5192)
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 42495e5c..8972a6e9 100644 --- a/languages.toml +++ b/languages.toml @@ -2068,3 +2068,16 @@ indent = { tab-width = 4, unit = " " } [[grammar]] name = "mermaid" source = { git = "https://github.com/monaqa/tree-sitter-mermaid", rev = "d787c66276e7e95899230539f556e8b83ee16f6d" } + +[[language]] +name = "matlab" +scope = "source.m" +file-types = ["m"] +comment-token = "%" +shebangs = ["octave-cli", "matlab"] +roots = [] +indent = { tab-width = 2, unit = " " } + +[[grammar]] +name = "matlab" +source = { git = "https://github.com/mstanciu552/tree-sitter-matlab", rev = "2d5d3d5193718a86477d4335aba5b34e79147326" } |