-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Is there any plan to support typst? #6688
Comments
Looks like typst doesn't have a proper tree-sitter grammar yet, we'll have to wait on that |
It does seem to have two: |
I've just started testing out typst for personal use, and although it's new, nvarner/typst-lsp seems to work well with |
@ElDifinitivo could you share the specific part of your [[language]]
name = "typst"
injection-regex = "typ"
language-server = { command = "typst-lsp"}
file-types = ["typ"]
roots = [] |
@nluetts here's what I have: [[language]]
name = "typst"
scope = "source.typst"
injection-regex = "typst"
roots = []
comment-token = "//"
file-types = ["typ"]
indent = { tab-width = 2, unit = " " }
language-server = { command = "typst-lsp" }
text-width = 100
rulers = [100]
soft-wrap.wrap-at-text-width = true I've also tried the two grammars posted above. I can't get SeniorMars' to work, but frozolotl's does although it's very limited at the moment. [[grammar]]
name = "typst"
source = { path = "/path/to/git-clone/tree-sitter-typst" } |
Has anyone managed to get @ElDifinitivo config to work on v23.05? It doesn't seem to work for me. Edit: Nevermind, it does work. I thought it wasn't working due to the lack of syntax highlighting. |
I wrote and I maintain a grammar: https://github.com/uben0/tree-sitter-typst |
There's a PR open that uses the SeniorMars grammar #7474 but if yours is more complete, feel free to open a PR that adds typst based on your grammar |
Is there any plan to support typst ?
The text was updated successfully, but these errors were encountered: