mirror of
https://github.com/Ascyii/nvim.git
synced 2026-01-01 04:04:24 -05:00
Full refactor of codebase and usage of lazyvim opts setting. Also split code in custom plugins
This commit is contained in:
15
lua/plugins/colorscheme.lua
Normal file
15
lua/plugins/colorscheme.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
"ellisonleao/gruvbox.nvim",
|
||||
|
||||
config = function()
|
||||
-- Useful for terminal emulators with a transparent background
|
||||
local function transparentBackground()
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
end
|
||||
|
||||
vim.cmd.colorscheme("gruvbox")
|
||||
|
||||
transparentBackground()
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user