mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
fix: explain that user should run nvim with -V1 to see more information
It's not obvious for users how to figure out where a mapping is set from only "Last set from Lua".
This commit is contained in:
@@ -1598,7 +1598,7 @@ describe('API', function()
|
||||
api.nvim_exec_lua('vim.api.nvim_set_option_value("equalalways", true, {})', {})
|
||||
status, rv = pcall(command_output, 'verbose set equalalways?')
|
||||
eq(true, status)
|
||||
eq(' equalalways\n\tLast set from Lua', rv)
|
||||
eq(' equalalways\n\tLast set from Lua (run Nvim with -V1 for more details)', rv)
|
||||
end)
|
||||
|
||||
it('updates whether the option has ever been set #25025', function()
|
||||
|
Reference in New Issue
Block a user