-
Notifications
You must be signed in to change notification settings - Fork 394
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 syntax highlighting support for GABC files #3058
Comments
That's definitely interesting. However, the project is GPLv3 licensed, so if I understand correctly, I would have to change my own license to GPLv3 if I included this? Also, it would be very helpful if you could provide some example files here. Yes, I can look it up. But I don't have very much time and I have zero knowledge of this package from earlier. Thus, it would take me some time to find the correct and good examples. So, if I'm to support something here it would be very useful to have relatively specific requests that does not require me to read up on and learn the entire package. Also, notice that the file you link to seems to be a separate type of syntax and not something that would be included in a tex file. I may be wrong, but the way it is defined sure looks like that; see e.g. the last line. |
Hmmm... I'm not sure about that, but I guess the mere bundling of
Let me show you an example:
This code with syntax highlighting enabled in NeoVim by Gregorio's You can find many other GABC examples in GregoBase repository. The reference documentation for GABC syntax can be found in this document, and NABC extension for GABC notation (which is used in the example above) is described in this other one.
Ah, yes, this syntax is not intended for |
Thanks!
Ah, well; I'm not perfectly convinced that I want to add syntax rules for different file types here. In my humble opinion, I think the best approach for making Gregorio more attainable to new users who want to use Vim or neovim would be the following:
If I were to add this to VimTeX, I feel I have to spend some time learning this filetype so I would be able to maintain it properly. I think the approach I outlined above is better and would be more valuable to the community. |
Gregorio project, which provides a set of tools for typesetting gregorian chant in LaTeX (already shipped with MikTeX and TeX Live), provides a Vim syntax config for GABC files. Please consider including it in vimtex bundle.
Source: https://github.com/gregorio-project/gregorio/blob/master/contrib/gabc.vim
The text was updated successfully, but these errors were encountered: