summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbitkeen <31455852+bitkeen@users.noreply.github.com>2020-09-07 07:52:12 +0300
committerGitHub <noreply@github.com>2020-09-06 21:52:12 -0700
commitd9adca7d5e53cf4f447cc804b3137fd9934150bd (patch)
treed33473f823a6671101fb044669ef84b7c8dba988
parente9c97072afe9d79276da568ef6791276fddb15d7 (diff)
Add Token.Prompt/Continuation (#1207)
-rw-r--r--pgcli/pgstyle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pgcli/pgstyle.py b/pgcli/pgstyle.py
index 2ee3e200..82290370 100644
--- a/pgcli/pgstyle.py
+++ b/pgcli/pgstyle.py
@@ -38,6 +38,8 @@ TOKEN_TO_PROMPT_STYLE = {
Token.Literal.String: "literal.string",
Token.Literal.Number: "literal.number",
Token.Keyword: "keyword",
+ Token.Prompt: "prompt",
+ Token.Continuation: "continuation",
}
# reverse dict for cli_helpers, because they still expect Pygments tokens.