diff --git a/lua/config/ui.lua b/lua/config/ui.lua new file mode 100644 index 0000000..d0301eb --- /dev/null +++ b/lua/config/ui.lua @@ -0,0 +1,16 @@ + +-- +-- User interface configuration +-- +-- .............................................. +-- +-- Author: Sven Vogel +-- Created: 07.11.2024 +-- Edited: 07.11.2024 +-- +-- ============================================== + +return { + border = 'rounded', + winhighlight = 'NormalFloat:DiagnosticError' +} diff --git a/lua/plugins/dressing.lua b/lua/plugins/dressing.lua new file mode 100644 index 0000000..fe4ba00 --- /dev/null +++ b/lua/plugins/dressing.lua @@ -0,0 +1,37 @@ + +-- +-- 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 { + { + 'stevearc/dressing.nvim', + opts = { + input = { + enabled = true, + border = ui.border, + trim_prompt = true, + win_options = { + winhighlight = ui.winhighlight + } + }, + select = { + enabled = true, + trim_prompt = true, + win_options = { + winhighlight = ui.winhighlight + } + } + } + } +}