Improve cmdline preset

This commit is contained in:
hrsh7th
2022-04-14 01:17:28 +09:00
parent 93cf84f7de
commit f4b3dda782
2 changed files with 22 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ misc.set(_G, { 'cmp', 'plugin', 'cmdline', 'enter' }, function()
if config.is_native_menu() then
return
end
if vim.fn.expand('<afile>')~= '=' then
if vim.fn.expand('<afile>') ~= '=' then
vim.schedule(function()
if api.is_cmdline_mode() then
vim.cmd [[