fix: adapt to Nvim deprecations in 0.10 (#3109)

(cherry picked from commit bbdbb7593f)
This commit is contained in:
Christian Clason
2024-05-20 11:48:33 +02:00
committed by Simon Hauser
parent 3a5d17d9d0
commit dd4acbd6fa
10 changed files with 32 additions and 16 deletions
+4 -4
View File
@@ -445,10 +445,10 @@ function Picker:find()
end
a.nvim_feedkeys(a.nvim_replace_termcodes(keys, true, false, true), "ni", true)
else
utils.notify(
"pickers.find",
{ msg = "`initial_mode` should be one of ['normal', 'insert'] but passed " .. self.initial_mode, level = "ERROR" }
)
utils.notify("pickers.find", {
msg = "`initial_mode` should be one of ['normal', 'insert'] but passed " .. self.initial_mode,
level = "ERROR",
})
end
local main_loop = async.void(function()