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

Support more keywords (Postgres) #1325

Open
bernardoamorim7 opened this issue Apr 22, 2024 · 0 comments
Open

Support more keywords (Postgres) #1325

bernardoamorim7 opened this issue Apr 22, 2024 · 0 comments
Labels
feature request New issue opened using "Feature request" template pg PostgreSQL driver

Comments

@bernardoamorim7
Copy link

bernardoamorim7 commented Apr 22, 2024

Is your feature request related to a problem? Please describe.

I have a difficult time using the extension with Postgres because some keywords aren't highlighted as they should, and it's especially difficult reading procedures sometimes because of that.

Describe the solution you'd like

Add more keywords to the regexp that looks for keywords in language/sql.tmLanguage.json

The keywords I have right now are:
elsif|raise|notice|exception|warning|conflict|do|nothing|default|varying|add|column|tablespace|temporary|for|each|index|trigger|rename

Adding this to the end of the regexp fixes the issue for my use case.

Describe alternatives you've considered

I have no other alternative as of right now, perhaps there's a better option I can't think of?

@bernardoamorim7 bernardoamorim7 added the feature request New issue opened using "Feature request" template label Apr 22, 2024
@gjsjohnmurray gjsjohnmurray added the pg PostgreSQL driver label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template pg PostgreSQL driver
Projects
None yet
Development

No branches or pull requests

2 participants