-
For some reason in my terminal certain keywords (e.g. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Sorry that the colors aren't optimal! There is no config option to change them, at the moment. But I agree it would be nice to have. As an immediate solution, I would suggest editing class PreqlStyle(Style):
default_style = ""
styles = {
Generic: 'ansigray',
Comment: 'italic #888',
Keyword: 'bold #00f',
Name: '#fff',
Name.Function: 'bold #8f8',
Name.Class: 'bold #0f0',
String: 'ansigreen',
Number: 'ansicyan',
Operator: 'ansigray',
Error: 'bg:ansired ansigray',
} You can pick any color you want. Specifically the relevant line there is: Keyword: 'bold #00f', Unfortunately it will reset next time you update Preql, but I will try to include a way to config the colors by then. |
Beta Was this translation helpful? Give feedback.
Sorry that the colors aren't optimal! There is no config option to change them, at the moment. But I agree it would be nice to have.
As an immediate solution, I would suggest editing
preql/repl.py
. You will see a class there: