Open ntluong95 opened 2 months ago
Currently, the code syntax highlighting for Python is very poor. Consider these example below to see the different
In quarto
In Python source code
so at least module name like pandas, pd, numpy, np or function argument should be highlighted. It seems no scope has been capture for these keywords.
Is there away that I can custom define the language myself in your quarto.tmLanguage file?
quarto.tmLanguage
### Tasks
Currently, the code syntax highlighting for Python is very poor. Consider these example below to see the different
In quarto![image](https://github.com/quarto-dev/quarto/assets/63569637/912bb7ce-1dd8-4aa6-8ca6-6c5d7dacd2d8)
In Python source code![image](https://github.com/quarto-dev/quarto/assets/63569637/fdfd1380-8fdc-4e7c-9f60-32658fddd2d3)
so at least module name like pandas, pd, numpy, np or function argument should be highlighted. It seems no scope has been capture for these keywords.![image](https://github.com/quarto-dev/quarto/assets/63569637/dfa1929b-e8bd-4d81-b112-4a575b7ed76c)
Is there away that I can custom define the language myself in your
quarto.tmLanguage
file?