feat: dressing.nvim for select/input, color tweaks

This commit is contained in:
əlemi 2022-09-01 01:16:02 +02:00
parent feb43cd7f9
commit 8bd4845675
Signed by: alemi
GPG key ID: A4895B84D311642C
2 changed files with 7 additions and 5 deletions

View file

@ -190,6 +190,8 @@ function PALETTE:set_ui_colors()
vim.api.nvim_set_hl(0, "PmenuSel", HIGHLIGHT(nil, self.gray.dark, nil)) -- Balloon color
-- vim.api.nvim_set_hl(0, "PmenuSbar", HIGHLIGHT(nil, self.black.normal, nil)) -- Balloon color
-- vim.api.nvim_set_hl(0, "PmenuThumb", HIGHLIGHT(nil, self.black.normal, nil)) -- Balloon color
vim.api.nvim_set_hl(0, "FloatBorder", HIGHLIGHT(self.black.bright, nil, nil)) -- Used mostly for replace popup
vim.api.nvim_set_hl(0, "FloatTitle", HIGHLIGHT(self.white.dark, self.gray.dark, nil)) -- custom definition of dessing.nvim
vim.api.nvim_set_hl(0, "Question", HIGHLIGHT(self.cyan.normal, nil, {bold=true}))
vim.api.nvim_set_hl(0, "MoreMsg", HIGHLIGHT(self.black.bright, nil, {bold=true}))
@ -199,7 +201,7 @@ function PALETTE:set_ui_colors()
vim.api.nvim_set_hl(0, "WarningMsg", HIGHLIGHT(self.black.normal, self.yellow.normal, nil))
vim.api.nvim_set_hl(0, "Title", HIGHLIGHT(self.red.bright, nil, {bold=true}))
vim.api.nvim_set_hl(0, "WildMenu", HIGHLIGHT(self.gray.bright, self.orange.dark, nil))
vim.api.nvim_set_hl(0, "ColorColumn", HIGHLIGHT(self.gray.dark, self.orange.normal, nil))
vim.api.nvim_set_hl(0, "ColorColumn", HIGHLIGHT(nil, self.black.dark, nil))
vim.api.nvim_set_hl(0, "DiagnosticWarn", HIGHLIGHT(self.orange.normal, nil, nil));
vim.api.nvim_set_hl(0, "DiagnosticError", HIGHLIGHT(self.red.normal, nil, nil));
@ -239,9 +241,9 @@ function PALETTE:set_statusline_colors()
vim.api.nvim_set_hl(0, "StatusLine", HIGHLIGHT(self.gray.normal, self.black.normal, nil))
vim.api.nvim_set_hl(0, "StatusLineBlock", HIGHLIGHT(self.gray.normal, self.gray.dark, {bold=true}))
vim.api.nvim_set_hl(0, "NormalMode", HIGHLIGHT(self.black.normal, self.red.normal, {bold=true}))
vim.api.nvim_set_hl(0, "InsertMode", HIGHLIGHT(self.black.normal, self.pink.normal, {bold=true}))
vim.api.nvim_set_hl(0, "InsertMode", HIGHLIGHT(self.black.normal, self.orange.bright, {bold=true}))
vim.api.nvim_set_hl(0, "VisualMode", HIGHLIGHT(self.black.normal, self.azure.normal, {bold=true}))
vim.api.nvim_set_hl(0, "SpecialMode", HIGHLIGHT(self.black.normal, self.orange.bright, {bold=true}))
vim.api.nvim_set_hl(0, "SpecialMode", HIGHLIGHT(self.black.normal, self.pink.normal, {bold=true}))
end
function PALETTE:set_gitsigns_colors()

View file

@ -107,16 +107,16 @@ local init_fn = function(use)
config = function () require('colorizer').setup() end
}
use "stevearc/dressing.nvim" -- better vim.fn.input() and vim.fn.select()
use {
'nvim-telescope/telescope.nvim', -- fuzzy finder, GUI component
requires = {
{'nvim-lua/plenary.nvim'}, -- some utilities made for telescope
{'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }, -- fzf algorithm implemented in C for faster searches
{'nvim-telescope/telescope-ui-select.nvim'},
},
config = function()
require('telescope').load_extension('fzf')
require("telescope").load_extension("ui-select")
require('keybinds'):set_telescope_keys({})
end
}