2024-11-07 19:12:31 +00:00
|
|
|
--
|
|
|
|
-- Improve the default vim.ui interfaces
|
|
|
|
--
|
|
|
|
-- Source: https://github.com/stevearc/dressing.nvim
|
|
|
|
-- ..............................................
|
|
|
|
--
|
|
|
|
-- Author: Sven Vogel
|
|
|
|
-- Created: 07.11.2024
|
|
|
|
-- Edited: 07.11.2024
|
|
|
|
--
|
|
|
|
-- ==============================================
|
|
|
|
|
|
|
|
ui = require 'config.ui'
|
|
|
|
|
|
|
|
return {
|
2024-11-08 17:22:53 +00:00
|
|
|
{
|
2024-11-07 19:12:31 +00:00
|
|
|
'stevearc/dressing.nvim',
|
|
|
|
opts = {
|
|
|
|
input = {
|
|
|
|
enabled = true,
|
2024-11-08 17:22:53 +00:00
|
|
|
border = ui.border,
|
|
|
|
trim_prompt = true,
|
|
|
|
win_options = {
|
2024-11-07 19:12:31 +00:00
|
|
|
winhighlight = ui.winhighlight
|
2024-11-08 17:22:53 +00:00
|
|
|
}
|
2024-11-07 19:12:31 +00:00
|
|
|
},
|
|
|
|
select = {
|
|
|
|
enabled = true,
|
|
|
|
trim_prompt = true,
|
|
|
|
win_options = {
|
|
|
|
winhighlight = ui.winhighlight
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|