nvim lazy plugin management part 2
This commit is contained in:
39
.config/nvim/lua/user/plugins/theme/init.lua
Normal file
39
.config/nvim/lua/user/plugins/theme/init.lua
Normal file
@ -0,0 +1,39 @@
|
||||
return {
|
||||
"rebelot/kanagawa.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {
|
||||
compile = false, -- enable compiling the colorscheme
|
||||
undercurl = true, -- enable undercurls
|
||||
commentStyle = { italic = true },
|
||||
functionStyle = {},
|
||||
keywordStyle = { italic = true },
|
||||
statementStyle = { bold = true },
|
||||
typeStyle = {},
|
||||
transparent = true, -- do not set background color
|
||||
dimInactive = false, -- dim inactive window `:h hl-NormalNC`
|
||||
terminalColors = true, -- define vim.g.terminal_color_{0,17}
|
||||
colors = {
|
||||
-- add/modify theme and palette colors
|
||||
palette = {},
|
||||
theme = { wave = {}, lotus = {}, dragon = {}, all = { ui = { bg_gutter = "none" } } },
|
||||
},
|
||||
overrides = function(colors) -- add/modify highlights
|
||||
local theme = colors.theme
|
||||
return {
|
||||
CursorLine = { bg = "#272735" },
|
||||
}
|
||||
end,
|
||||
theme = "wave", -- Load "wave" theme when 'background' option is not set
|
||||
background = { -- map the value of 'background' option to a theme
|
||||
dark = "wave", -- try "dragon" !
|
||||
},
|
||||
},
|
||||
config = function(_, _opts)
|
||||
require("kanagawa").setup(_opts)
|
||||
|
||||
vim.cmd("colorscheme kanagawa")
|
||||
end
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user