Add noice; fix highlight groups of theme
This commit is contained in:
parent
b86f268e9a
commit
6a2054b203
38
.config/nvim/lua/plugins/noice.lua
Normal file
38
.config/nvim/lua/plugins/noice.lua
Normal file
@ -0,0 +1,38 @@
|
||||
-- lazy.nvim
|
||||
return {
|
||||
"folke/noice.nvim",
|
||||
event = "VeryLazy",
|
||||
opts = {
|
||||
lsp = {
|
||||
signature = {
|
||||
enabled = false
|
||||
},
|
||||
hover = {
|
||||
enabled = false
|
||||
}
|
||||
},
|
||||
views = {
|
||||
cmdline_popup = {
|
||||
backend = "popup",
|
||||
relative = "editor",
|
||||
position = {
|
||||
row = -1,
|
||||
col = "0%"
|
||||
},
|
||||
border = {
|
||||
style = "none"
|
||||
}
|
||||
},
|
||||
cmdline_popupmenu = {
|
||||
relative = "editor",
|
||||
position = {
|
||||
row = -2,
|
||||
col = "0%"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim"
|
||||
}
|
||||
}
|
||||
@ -9,7 +9,16 @@ return {
|
||||
-- }
|
||||
-- {
|
||||
-- 'rose-pine/neovim',
|
||||
-- config = function() vim.cmd('colorscheme rose-pine-moon') end
|
||||
-- config = function()
|
||||
-- vim.cmd('colorscheme rose-pine-moon')
|
||||
|
||||
-- -- LuaFormatter off
|
||||
-- vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
-- vim.api.nvim_set_hl(0, "FloatBorder", { bg = "none", fg = "none" })
|
||||
-- vim.api.nvim_set_hl(0, "TelescopeNormal", { bg = "none" })
|
||||
-- vim.api.nvim_set_hl(0, "TelescopeBorder", { bg = "none" })
|
||||
-- -- LuaFormatter on
|
||||
-- end
|
||||
-- }
|
||||
-- {
|
||||
-- 'AlexvZyl/nordic.nvim',
|
||||
@ -40,6 +49,15 @@ return {
|
||||
opts = {
|
||||
contrast = "hard"
|
||||
},
|
||||
init = function() vim.cmd("colorscheme gruvbox") end
|
||||
init = function()
|
||||
vim.cmd("colorscheme gruvbox")
|
||||
|
||||
-- LuaFormatter off
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlineIcon", { bg = "#1d2021" })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupBorder", { bg = "#1d2021" })
|
||||
vim.api.nvim_set_hl(0, "NoiceCmdlinePopupTitle", { bg = "#1d2021" })
|
||||
-- LuaFormatter on
|
||||
end
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user