patch 9.0.1061: cannot display 'showcmd' somewhere else
Problem: Cannot display 'showcmd' somewhere else.
Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes #11684)
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 449e7ef..de9fb6a 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -2240,6 +2240,9 @@
(char_u *)TRUE
#endif
} SCTX_INIT},
+ {"showcmdloc", "sloc", P_STRING|P_RSTAT,
+ (char_u *)&p_sloc, PV_NONE,
+ {(char_u *)"last", (char_u *)"last"} SCTX_INIT},
{"showfulltag", "sft", P_BOOL|P_VI_DEF,
(char_u *)&p_sft, PV_NONE,
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},