aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/options.lua
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2022-12-15 21:23:28 +0100
committerzeertzjq <zeertzjq@outlook.com>2022-12-26 13:15:07 +0800
commit5b89d480e30367259f82680945572b1406219da5 (patch)
tree455961489867e2fa0c489a2bd4ff779a90d792fd /src/nvim/options.lua
parent357aab4c65c49a924481a67e17a10bd04c334ab9 (diff)
downloadrneovim-5b89d480e30367259f82680945572b1406219da5.tar.gz
rneovim-5b89d480e30367259f82680945572b1406219da5.tar.bz2
rneovim-5b89d480e30367259f82680945572b1406219da5.zip
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 <luukvbaal@gmail.com>
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r--src/nvim/options.lua7
1 files changed, 7 insertions, 0 deletions
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
@@ -2184,6 +2184,13 @@ return {
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"),
type='bool', scope={'global'},