50 lines
1.4 KiB
Lua
50 lines
1.4 KiB
Lua
-- Install theme plugins
|
|
vim.pack.add {
|
|
{ src = 'https://github.com/rebelot/kanagawa.nvim', name = 'kanagawa' },
|
|
-- { src = 'https://github.com/rose-pine/neovim', name = 'rose-pine' },
|
|
-- { src = 'https://github.com/nickkadutskyi/jb.nvim', name = 'jetbrains-theme' },
|
|
}
|
|
|
|
local dim_inactive_windows = true
|
|
|
|
-- Initialize and customize themes
|
|
require('kanagawa').setup {
|
|
-- Compile colorscheme for fast startup times.
|
|
-- Note: When changing the theme, make sure to run `:KanagawaCompile` afterwards!
|
|
compile = true,
|
|
|
|
-- Dim inactive windows
|
|
dimInactive = dim_inactive_windows,
|
|
|
|
-- Customize colors
|
|
colors = {
|
|
theme = {
|
|
all = {
|
|
ui = {
|
|
-- Disable background of gutter (line numbers etc.)
|
|
bg_gutter = 'none',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
|
|
-- Add or modify highlight groups
|
|
overrides = function(colors)
|
|
local theme = colors.theme
|
|
return {
|
|
-- Make window separator more visible
|
|
WinSeparator = {
|
|
fg = theme.ui.bg_p1, -- default: bg_m3
|
|
bg = dim_inactive_windows and theme.ui.bg_dim or "NONE", -- default
|
|
},
|
|
}
|
|
end,
|
|
}
|
|
|
|
--require('rose-pine').setup {}
|
|
--require('jb').setup {}
|
|
|
|
-- Enable theme
|
|
vim.cmd.colorscheme('kanagawa')
|
|
--vim.cmd.colorscheme('rose-pine')
|
|
--vim.cmd.colorscheme('jb')
|