Replies: 4 comments 6 replies
-
If there are any VSCode compatible syntax highlighters for Teal it isn't that hard to get linguist added. The process is a bit confusing but at the end of the day it can mostly reuse rulesets from existing lexers. I successfully added Fluent not to long ago, working forward from existing systax highlighter projects. No experience wit rouge. Either way this is not something this repo or even project needs to support, anybody can do the work to get this setup. |
Beta Was this translation helpful? Give feedback.
-
I'd like to also mention https://github.com/alecthomas/chroma. This is what Gitea uses since go-gitea/gitea#12047 |
Beta Was this translation helpful? Give feedback.
-
Are there 200 unique projects using teal yet? That's the first requirement listed for getting it on github: I haven't been able to craft a good search for this yet. Searching for Additionally since the However, as mentioned above, we should be able to use the vscode-teal repo to accomplish this. Certainly wouldn't hurt to get the PR made, and everything in place. Then it can wait for |
Beta Was this translation helpful? Give feedback.
-
Got curious and had a look and there is a huge issue with this |
Beta Was this translation helpful? Give feedback.
-
Currently on github Teal seems to be highlighted in the same way as plain Lua. github uses Linguist https://github.com/github/linguist for highlighting, so support for Teal would need to be added there.
On gitlab it is not highlighted at all. Gitlab uses rouge https://github.com/rouge-ruby/rouge/wiki/Adding-a-new-lexer for highlighting
Beta Was this translation helpful? Give feedback.
All reactions