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

SQL file lose syntax #137

Closed
mr-scrpt opened this issue Apr 18, 2023 · 5 comments · Fixed by #138
Closed

SQL file lose syntax #137

mr-scrpt opened this issue Apr 18, 2023 · 5 comments · Fixed by #138

Comments

@mr-scrpt
Copy link

Hello, I have a problem with syntax highlighting in an SQL file. I created an issue in the nvim-treesitter repository, but I was advised to come here. I am attaching a screenshot of what it looks like in my nvim 9.
image
Also here is a link to the issue in nvim-treesiter repo - there is more information about my problem.
nvim-treesitter/nvim-treesitter#4668

@mr-scrpt
Copy link
Author

@DerekStride Thank you for your response, I updated the parser, but the problem is not gone. I see that poolrequest has not yet been accepted, that is, there are no fixes for this bug yet?

@DerekStride
Copy link
Owner

there are no fixes for this bug yet?

Not yet, #138 needs to be merged and then nvim-treesitter needs to be updated before it will be available.

@matthias-Q
Copy link
Collaborator

@mr-scrpt it is merged it normally appears in nvim-treesitter on the next day. However, highlights for the new keywords will not work until a PR is merged in their repo. This only affects the new keywords (like Inet)

@mr-scrpt
Copy link
Author

mr-scrpt commented May 8, 2023

@DerekStride Hi, I'm still having trouble with syntax - the issue hasn't been resolved. Or has the fix for this problem not yet been included in the current package version?

@DerekStride
Copy link
Owner

Can you try updating to the latest nvim-treesitter and reinstalling the sql parser? I've just had the updated highlight queries merged.

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