From 5b89d480e30367259f82680945572b1406219da5 Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Thu, 15 Dec 2022 21:23:28 +0100 Subject: vim-patch:9.0.1061: cannot display 'showcmd' somewhere else Problem: Cannot display 'showcmd' somewhere else. Solution: Add the 'showcmdloc' option. (Luuk van Baal, closes vim/vim#11684) https://github.com/vim/vim/commit/ba936f6f4e85cc1408bc3967f9fd7665d948909b Co-authored-by: Luuk van Baal --- src/nvim/options.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/nvim/options.lua') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 3c2fb1797b..232c645eb0 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -2183,6 +2183,13 @@ return { varname='p_sc', defaults={if_true=true} }, + { + full_name='showcmdloc', abbreviation='sloc', + short_desc=N_("change location of partial command"), + type='string', scope={'global'}, + varname='p_sloc', + defaults={if_true="last"} + }, { full_name='showfulltag', abbreviation='sft', short_desc=N_("show full tag pattern when completing tag"), -- cgit