mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
Create new mode() value for terminal-mode ('t') #2287
This commit is contained in:

committed by
Justin M. Keyes

parent
960b9108c2
commit
27ead64da0
@@ -11769,6 +11769,8 @@ static void f_mode(typval_T *argvars, typval_T *rettv)
|
||||
} else if (exmode_active) {
|
||||
buf[0] = 'c';
|
||||
buf[1] = 'e';
|
||||
} else if (State & TERM_FOCUS) {
|
||||
buf[0] = 't';
|
||||
} else {
|
||||
buf[0] = 'n';
|
||||
if (finish_op)
|
||||
|
Reference in New Issue
Block a user