Add Neovim config
This commit is contained in:
parent
5a2f500fca
commit
29e053af75
6 changed files with 352 additions and 103 deletions
36
.config/nvim/lua/init/theme.lua
Normal file
36
.config/nvim/lua/init/theme.lua
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
-- 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' },
|
||||
}
|
||||
|
||||
-- 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 = true,
|
||||
|
||||
-- Customize colors
|
||||
colors = {
|
||||
theme = {
|
||||
all = {
|
||||
ui = {
|
||||
-- Disable background of gutter (line numbers etc.)
|
||||
bg_gutter = 'none',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
--require('rose-pine').setup {}
|
||||
--require('jb').setup {}
|
||||
|
||||
-- Enable theme
|
||||
vim.cmd.colorscheme('kanagawa')
|
||||
--vim.cmd.colorscheme('rose-pine')
|
||||
--vim.cmd.colorscheme('jb')
|
||||
Loading…
Add table
Add a link
Reference in a new issue