The file ftplugin/nnn.vim sets noshowmode, which is global. After using nnn.vim, the mode is no longer visible on the last line.
To Reproduce
Steps to reproduce the behavior and with the most minimal configuration.
With only nnn.vim installed and additional configurations/plugins that helps reproduce the bug:
Open vim.
Run :set showmode?, confirm that it returns showmode.
Run :NnnPicker or :NnnExplore and q to return to buffer.
Run :set showmode? again, now it returns noshowmode
Describe the bug
The file
ftplugin/nnn.vim
setsnoshowmode
, which is global. After usingnnn.vim
, the mode is no longer visible on the last line.To Reproduce
Steps to reproduce the behavior and with the most minimal configuration. With only nnn.vim installed and additional configurations/plugins that helps reproduce the bug:
:set showmode?
, confirm that it returnsshowmode
.:NnnPicker
or:NnnExplore
andq
to return to buffer.:set showmode?
again, now it returnsnoshowmode
Expected behavior
Global option
showmode
should not be overridden.Screenshots
https://user-images.githubusercontent.com/739304/147990676-0ce419c7-595d-4e9f-9351-89b304f00607.mov
Environment:
master