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"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,16 +1,25 @@
|
|||||||
return {
|
return {
|
||||||
-- {'doums/darcula', config = function() vim.cmd('colorscheme darcula') end}
|
-- {'doums/darcula', config = function() vim.cmd('colorscheme darcula') end}
|
||||||
-- {
|
-- {
|
||||||
-- "folke/tokyonight.nvim",
|
-- "folke/tokyonight.nvim",
|
||||||
-- lazy = false,
|
-- lazy = false,
|
||||||
-- priority = 1000,
|
-- priority = 1000,
|
||||||
-- opts = {},
|
-- opts = {},
|
||||||
-- config = function() vim.cmd('colorscheme tokyonight-moon') end
|
-- config = function() vim.cmd('colorscheme tokyonight-moon') end
|
||||||
-- }
|
-- }
|
||||||
-- {
|
-- {
|
||||||
-- 'rose-pine/neovim',
|
-- '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',
|
-- 'AlexvZyl/nordic.nvim',
|
||||||
-- lazy = false,
|
-- lazy = false,
|
||||||
@ -40,6 +49,15 @@ return {
|
|||||||
opts = {
|
opts = {
|
||||||
contrast = "hard"
|
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