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

javascript: add switch/case to the context. #351

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

nodech
Copy link
Contributor

@nodech nodech commented Oct 20, 2023

screenshot

Add switch/case for javascript.

I have not figured out how to catch multiple cases that work on the same block yet, but this is better than nothing.

Multiple case that needs different query.

   case A:
   case B: {
   }

@lewis6991 lewis6991 merged commit 8aa32aa into nvim-treesitter:master Oct 20, 2023
2 checks passed
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.

2 participants