We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
order = 'reverse'
position = 'bottom'
1 parent e5b8d8b commit 684e7e6Copy full SHA for 684e7e6
lua/wincent/commandt/private/options/defaults.lua
@@ -140,11 +140,11 @@ function Defaults:clone(options)
140
local copy = require('wincent.commandt.private.copy')
141
local result = copy(self._options)
142
143
- -- Claims we are passed nil
144
- -- Swap border definitions if `position = 'bottom'` is set.
+ -- Swap border definitions if `position = 'bottom'` is set, and reverse order.
145
if type(options) == 'table' and options.position == 'bottom' then
146
result.match_listing.border = self._options.prompt.border
147
result.prompt.border = self._options.match_listing.border
+ result.order = 'reverse'
148
end
149
150
return result
0 commit comments