You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to highlight PostgreSQL Console raises exception
Hi,
First, thanks for your great add-on.
I was trying to highlight some SQL and psql ( the command line interface for PostgreSQL).
Steps to reproduce
Enter the following text in the Add window. \dt
Select PostgresSQL console (psql) from the language dropdown, highlight the text entered and try either pressing alt-S or clicking on the highlight button (LIGHTENING).
I have used a few different other lexers, including normal SQL (which doesn't work for the psql commands). It's only this lexer, so far, that is not working for me and the issue seems with that specific lexer.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi @glutanimate
I just compared libs/pgments/lexers to upstream and noticed this repo is a bit behind.
You might want to update the lexers when you get the chance.
Temporary workaround for anyone with similar problem
Backup the file /home/<USERNAME>/.local/share/Anki2/addons21/1463041493/libs/pygments/lexers/sql.py and replace it with this file. It seems working fine now for me.
Trying to highlight PostgreSQL Console raises exception
Hi,
First, thanks for your great add-on.
I was trying to highlight some SQL and psql ( the command line interface for PostgreSQL).
Steps to reproduce
\dt
I ended up getting the following error
NOTE
I have used a few different other lexers, including normal SQL (which doesn't work for the psql commands). It's only this lexer, so far, that is not working for me and the issue seems with that specific lexer.
Thanks.
The text was updated successfully, but these errors were encountered: