diff --git a/lua/noice/view/nui.lua b/lua/noice/view/nui.lua index 19b11fda..18c801dc 100644 --- a/lua/noice/view/nui.lua +++ b/lua/noice/view/nui.lua @@ -45,7 +45,10 @@ end -- Check if other floating windows are overlapping and move out of the way function NuiView:smart_move() - if not (self._opts.type == "popup" and self._opts.relative and self._opts.relative.type == "editor") then + if + not (self._opts.type == "popup" and self._opts.relative and self._opts.relative.type == "editor") + or self._opts.view == "cmdline" + then return end