HiPhish / rainbow-delimiters.nvim

Rainbow delimiters for Neovim with Tree-sitter
https://gitlab.com/HiPhish/rainbow-delimiters.nvim
Apache License 2.0
465 stars 34 forks source link

feat : add matlab delimiter query #104

Open Jaehaks opened 3 months ago

Jaehaks commented 3 months ago

There was no delimiters query of matlab. Add some treesitter delimiters

HiPhish commented 3 months ago

Thanks. Can you please add a test file as well?

Jaehaks commented 3 months ago

Thanks. Can you please add a test file as well?

Thank you for your reply,

@HiPhish I maked the query with some examples and tested using garciparedes/matlab-examples matlab-examples/numerical-methods/*

HiPhish commented 3 months ago

I don't know Matlab and I don't have any need to learn it at the moment, so please add a test file yourself. The test file needs to cover all the patterns defined in the query. It would be good if it also works when executed, so that people who run a language server don't see errors and warnings everywhere, but that's not necessary. Please do not just copy-paste a file from the matlab-examples repo, they have a different license.