Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for MATLAB/Octave files #5192

Merged
merged 1 commit into from
Dec 17, 2022
Merged

Conversation

g-s-k
Copy link
Contributor

@g-s-k g-s-k commented Dec 17, 2022

Add highlighting for MATLAB/Octave using the grammar defined at https://github.com/mstanciu552/tree-sitter-matlab

@the-mikedavis the-mikedavis added S-waiting-on-review Status: Awaiting review from a maintainer. A-language-support Area: Support for programming/text languages labels Dec 17, 2022
Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use some slightly different captures than neovim in tree-sitter queries: https://docs.helix-editor.com/master/themes.html#syntax-highlighting

runtime/queries/matlab/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/matlab/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/matlab/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/matlab/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/matlab/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/matlab/highlights.scm Outdated Show resolved Hide resolved
runtime/queries/matlab/highlights.scm Outdated Show resolved Hide resolved
@the-mikedavis the-mikedavis merged commit 042d032 into helix-editor:master Dec 17, 2022
@g-s-k g-s-k deleted the matlab branch December 17, 2022 19:50
gibbz00 pushed a commit to gibbz00/helix that referenced this pull request Dec 17, 2022
hadronized pushed a commit to hadronized/helix that referenced this pull request Jan 4, 2023
freqmod pushed a commit to freqmod/helix that referenced this pull request Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants