Open TullyMonster opened 6 months ago
Hi, it looks like the syntax definition is using extremely non-standard scopes. Probably you have to use one of the colour schemes from that package also.
Hi, it looks like the syntax definition is using extremely non-standard scopes. Probably you have to use one of the colour schemes from that package also.
Thx, if I know the specific .sublime-syntax
file such as fasta.sublime-syntax
, how can I determine its standardization and make amendments?
scopes like ntA
are completely arbitrary and don't match anything in http://www.sublimetext.com/docs/scope_naming.html
I count about 17 unique scopes in that fasta syntax definition, and I guess there's no way to use semantic/"correct" scopes, but just to try mapping some scopes which color schemes generally target/color distinguishably.
scopes like
ntA
are completely arbitrary and don't match anything in http://www.sublimetext.com/docs/scope_naming.htmlI count about 17 unique scopes in that fasta syntax definition, and I guess there's no way to use semantic/"correct" scopes, but just to try mapping some scopes which color schemes generally target/color distinguishably.
Thanks for your reply. So in that case, are there any proposed tools for highlighting bioinformatics data or is bat planning to consider compatibility with them? ❤️
To be able to extend the file formats commonly used in bioinformatics, I used BioSyntax.
After following these steps Adding new syntaxes / language definitions, but it doesn't seem to work.![image](https://github.com/sharkdp/bat/assets/47771282/8bd1c0e2-4635-4672-8023-d1ceb8f4d2f2)
I would venture to speculate that compatibility is to blame, because of the bioSyntax-based configuration, there is a dedicated tool: https://github.com/bioSyntax/bioSyntax-sublime
But I prefer bat to it, obstinately. I don't know much about the technical details of bat, and I hope to address the needs of many bioinformatics researchers to help me solve this problem. The noblest thanks go to everyone who cares about it.