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

Update rule for section-aware features #20

Merged
merged 3 commits into from
Jul 22, 2024
Merged

Update rule for section-aware features #20

merged 3 commits into from
Jul 22, 2024

Conversation

sh-cho
Copy link
Owner

@sh-cho sh-cho commented Jul 22, 2024

  • Empty lines (containing only spaces) under sections are included in section node, not under root(config), to support context-aware in language server
    • AFAIK, there is no way to get current cursor position's section context
    • Although this change will produce useless ERROR node somewhere, but I think it's okay for now because no usage for that.
  • Update rule for newline (does it matter?)

@sh-cho sh-cho merged commit c28a123 into main Jul 22, 2024
4 checks passed
@sh-cho sh-cho deleted the fix-range branch July 22, 2024 07:18
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 this pull request may close these issues.

1 participant