fix(open-file): vim.op -> vim.opt
This commit is contained in:
parent
ba5c18dc2b
commit
2edbe759cd
@ -112,7 +112,7 @@ local function pick_window()
|
||||
end
|
||||
local _, resp = pcall(get_user_input_char)
|
||||
resp = (resp or ""):upper()
|
||||
if vim.op.cmdheight._value ~= 0 then
|
||||
if vim.opt.cmdheight._value ~= 0 then
|
||||
vim.api.nvim_command "normal! :"
|
||||
end
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user