diff options
-rw-r--r-- | after/plugin/cmp.lua | 4 | ||||
-rw-r--r-- | after/plugin/lsp.lua | 11 | ||||
-rw-r--r-- | colors/mellow.ext.lua | 3 |
3 files changed, 13 insertions, 5 deletions
diff --git a/after/plugin/cmp.lua b/after/plugin/cmp.lua index d9e490a..4c4309d 100644 --- a/after/plugin/cmp.lua +++ b/after/plugin/cmp.lua @@ -30,11 +30,11 @@ cmp.setup { window = { completion = { scrollbar = false, - border = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' }, + border = 'solid', winhighlight = "Normal:WinBarNC,FloatBorder:WinBarNC,Search:WinBarNC", }, documentation = { - border = { ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ' }, + border = 'solid', winhighlight = "Normal:WinBarNC,FloatBorder:WinBarNC,Search:WinBarNC", } }, diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index f167095..c74eaab 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -57,10 +57,15 @@ vim.diagnostic.config({ severity_sort = true, }) -vim.lsp.handlers['textDocument/hover'] = vim.lsp.with(vim.lsp.handlers.hover, - { border = 'shadow', }) +vim.lsp.handlers['textDocument/hover'] = vim.lsp.with( + vim.lsp.handlers.hover, { + border = 'solid', + }) + vim.lsp.handlers['textDocument/signatureHelp'] = vim.lsp.with( - vim.lsp.handlers.signature_help, { border = 'shadow' }) + vim.lsp.handlers.signature_help, { + border = 'solid', + }) -- get servers and attach to them local status_ok1, mason = pcall(require, "mason") diff --git a/colors/mellow.ext.lua b/colors/mellow.ext.lua index 0569c2f..44e2597 100644 --- a/colors/mellow.ext.lua +++ b/colors/mellow.ext.lua @@ -53,6 +53,9 @@ highlight('EndOfBuffer', { fg = vim.g.terminal_color_background }) -- make all backgrounds the same color highlight('NormalNC', cpyhl('Normal')) +highlight('NormalFloat', { bg = c.bg_dark }) +highlight('FloatBorder', cpyhl('NormalFloat')) + -- plugin highlights ---------------------------------------------------------- -- telescope highlight('TelescopeMatching', { fg = c.yellow }) |