aboutsummaryrefslogtreecommitdiffhomepage
path: root/tokenizer.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-04 13:31:48 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-14 11:36:20 -0700
commit064ad7b9812b85192a5377923084cadee4da03d9 (patch)
tree3741088430d7505fdbdd1f486178611e7892547d /tokenizer.cpp
parent6fbb3c9976cc8fe0b9b501214d46b73a9951e4cb (diff)
Rework how the mode is reported in fish_vi_mode
Add a new function fish_mode_prompt which (if it is defined) has its output prepended to the left prompt. Rather than replacing the prompt wholesale, make fish_vi_mode enable this function by setting a variable __fish_vi_mode. This enables vi mode to interoperate nicely with custom prompts. Users who want to change how the mode is reported can either redefine this function or erase it entirely. Fixes #1988.
Diffstat (limited to 'tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions