Skip to content

Commit

Permalink
test cute colorschemes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbuhr committed May 17, 2024
1 parent 4e3e3ab commit 8b7eb42
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 11 deletions.
3 changes: 3 additions & 0 deletions lua/config/global.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ local animals = require('misc.style').animals
-- proper colors
vim.opt.termguicolors = true

-- show insert mode in terminal buffers
vim.api.nvim_set_hl(0, 'TermCursor', { fg = '#A6E3A1', bg = '#A6E3A1' })

-- disable fill chars (the ~ after the buffer)
vim.o.fillchars = 'eob: '

Expand Down
37 changes: 26 additions & 11 deletions lua/plugins/colorthemes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,7 @@ return {
{
'catppuccin/nvim',
name = 'catppuccin',
-- using new default on nvim 0.10 now for a while to test
enabled = function()
-- only enabled catppuccin on lower versions
local has_new_default_theme = vim.fn.has 'nvim-0.10' == 1
if has_new_default_theme then
-- change cursor color for terminal insert mode
-- (because cursor shape does not change for now)
vim.api.nvim_set_hl(0, 'TermCursor', { fg = '#A6E3A1', bg = '#A6E3A1' })
end
return not has_new_default_theme
end,
enabled = false,
lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins
config = function()
Expand All @@ -26,6 +16,31 @@ return {
vim.api.nvim_set_hl(0, 'TermCursor', { fg = '#A6E3A1', bg = '#A6E3A1' })
end,
},

{
'oxfist/night-owl.nvim',
enabled = true,
lazy = false,
priority = 1000,
config = function()
-- load the colorscheme here
require('night-owl').setup()
vim.cmd.colorscheme 'night-owl'
vim.api.nvim_set_hl(0, 'TermCursor', { fg = '#A6E3A1', bg = '#A6E3A1' })
end,
},

{
'rebelot/kanagawa.nvim',
enabled = false,
lazy = false,
priority = 1000,
config = function()
vim.cmd.colorscheme 'kanagawa'
vim.api.nvim_set_hl(0, 'TermCursor', { fg = '#A6E3A1', bg = '#A6E3A1' })
end,
},

{
'olimorris/onedarkpro.nvim',
enabled = false,
Expand Down

0 comments on commit 8b7eb42

Please sign in to comment.