Skip to content
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

Parsing error with post keys #39

Closed
yrd opened this issue Jun 6, 2023 · 1 comment · Fixed by helix-editor/helix#7621
Closed

Parsing error with post keys #39

yrd opened this issue Jun 6, 2023 · 1 comment · Fixed by helix-editor/helix#7621

Comments

@yrd
Copy link

yrd commented Jun 6, 2023

I'm not quite sure if I'm missing something here, but I think I found a parsing error. This seems to be a minimal working example:

{
  post.postA = ''
  '';
}

When opening this in Helix, I get this error:

helix_view::document [ERROR] TS parser failed, disabeling TS for the current buffer: Err(InvalidRanges)

It seems to happen when postFoo.postBar is the key of an attribute set. I found it while trying to do this:

{
  systemd.services.postgresql.postStart = ''
  '';
}

I'm not entirely sure what's going on here. Feel free to close if this doesn't actually have anything to do with this parser.

@gabydd
Copy link

gabydd commented Jun 22, 2023

this is a problem on the helix side see helix-editor/helix#3816

@adisbladis adisbladis closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants