Failed to parse language config: duplicate field comment-tokens
#12171
Replies: 5 comments 7 replies
-
See #11666, this is most likely from adding a |
Beta Was this translation helpful? Give feedback.
-
I was able to solve it by narrowing down the 5 languages that I needed. It seems that the issue comes from |
Beta Was this translation helpful? Give feedback.
-
I'm getting the same error and from what I'm understanding |
Beta Was this translation helpful? Give feedback.
-
Having this issue as well with the |
Beta Was this translation helpful? Give feedback.
-
I somehow figured out the problematic configuration: on line 2059, the configuration of R language. # [[language]]
# name = "r"
# scope = "source.r"
# injection-regex = "(r|R)"
# file-types = ["r", "R", { glob = ".Rprofile" }, { glob = "Rprofile.site" }, { glob = ".RHistory" }]
# shebangs = ["r", "R"]
# comment-tokens = ["#", "#'"]
# indent = { tab-width = 2, unit = " " }
# language-servers = [ "r" ]
# [[grammar]]
# name = "r"
# source = { git = "https://github.com/r-lib/tree-sitter-r", rev = "cc04302e1bff76fa02e129f332f44636813b0c3c" } Got this by binary search manually. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
there is an error for parse language.toml when start helix, I try to use the default language config , and it works good, I don't know where has an error.
the content of my language config is too long, I put it on https://gist.github.com/ofzo/2c631daecad4b21ba9c0b59c4af38cd1
Beta Was this translation helpful? Give feedback.
All reactions