summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-04 17:14:51 +0100
committerJoe <rbo@gmx.us>2024-01-04 17:14:51 +0100
commit62e4c8e40cf568f1b2872782544cc09513e1cdbf (patch)
tree5e6bb94d0fe881fe8b55f912b2975a9a7ff7c57b /.config
parentup (diff)
downloaddotfiles-bsd-62e4c8e40cf568f1b2872782544cc09513e1cdbf.tar.gz
dotfiles-bsd-62e4c8e40cf568f1b2872782544cc09513e1cdbf.tar.bz2
dotfiles-bsd-62e4c8e40cf568f1b2872782544cc09513e1cdbf.tar.xz
dotfiles-bsd-62e4c8e40cf568f1b2872782544cc09513e1cdbf.tar.zst
dotfiles-bsd-62e4c8e40cf568f1b2872782544cc09513e1cdbf.zip
up
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/after/plugin/kanagawa.lua27
-rw-r--r--.config/nvim/lua/pack.lua1
-rw-r--r--.config/nvim/lua/settings.lua8
3 files changed, 32 insertions, 4 deletions
diff --git a/.config/nvim/after/plugin/kanagawa.lua b/.config/nvim/after/plugin/kanagawa.lua
new file mode 100644
index 0000000..8d9e00d
--- /dev/null
+++ b/.config/nvim/after/plugin/kanagawa.lua
@@ -0,0 +1,27 @@
+require('kanagawa').setup({
+ compile = false, -- enable compiling the colorscheme
+ undercurl = true, -- enable undercurls
+ commentStyle = { italic = true },
+ functionStyle = {},
+ keywordStyle = { italic = true},
+ statementStyle = { bold = true },
+ typeStyle = {},
+ transparent = false, -- 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 = {} },
+ },
+ overrides = function(colors) -- add/modify highlights
+ return {}
+ 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" !
+ light = "lotus"
+ },
+})
+
+-- setup must be called before loading
+vim.cmd("colorscheme kanagawa")
diff --git a/.config/nvim/lua/pack.lua b/.config/nvim/lua/pack.lua
index 1854bf9..a6a64a0 100644
--- a/.config/nvim/lua/pack.lua
+++ b/.config/nvim/lua/pack.lua
@@ -35,6 +35,7 @@ return require('packer').startup({function(use)
use 'ellisonleao/gruvbox.nvim'
use 'sainnhe/gruvbox-material'
use 'navarasu/onedark.nvim'
+ use 'rebelot/kanagawa.nvim'
use 'theniceboy/nvim-deus'
use 'tpope/vim-fugitive'
use({
diff --git a/.config/nvim/lua/settings.lua b/.config/nvim/lua/settings.lua
index 1e49c2e..8d6c268 100644
--- a/.config/nvim/lua/settings.lua
+++ b/.config/nvim/lua/settings.lua
@@ -55,10 +55,10 @@ syntax on
" colorscheme gruvbox
-let g:onedark_config = {
- \ 'style': 'warmer',
-\}
-colorscheme onedark
+" let g:onedark_config = {
+" \ 'style': 'warmer',
+" \}
+" colorscheme onedark
filetype plugin indent on