Mercurial > dotfiles
comparison .chezmoitemplates/init.lua @ 737:179f83e1a479
fix: correct colorscheme setting
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 12 Dec 2022 13:28:12 +0000 |
parents | 972d55bec218 |
children | d63750fc240f |
comparison
equal
deleted
inserted
replaced
736:da3545ac5801 | 737:179f83e1a479 |
---|---|
647 } | 647 } |
648 | 648 |
649 -- Colorscheme | 649 -- Colorscheme |
650 use { | 650 use { |
651 local_plugin 'espresso-tutti-colori.nvim', | 651 local_plugin 'espresso-tutti-colori.nvim', |
652 config = function() require('tutti-colori').setup() end, | 652 disable = os.getenv 'DARKMODE', |
653 config = function() | |
654 require('tutti-colori').setup() | |
655 require('tutti-colori').load() | |
656 end, | |
653 } | 657 } |
654 use { | 658 use { |
655 'catppuccin/nvim', | 659 'catppuccin/nvim', |
656 as = 'catppuccin', | 660 as = 'catppuccin', |
657 config = function() | 661 config = function() |
698 vim.cmd.packadd 'dirbuf.nvim' | 702 vim.cmd.packadd 'dirbuf.nvim' |
699 | 703 |
700 if os.getenv 'DARKMODE' then | 704 if os.getenv 'DARKMODE' then |
701 vim.cmd.colorscheme 'catppuccin' | 705 vim.cmd.colorscheme 'catppuccin' |
702 else | 706 else |
707 require('tutti-colori').setup() | |
703 vim.cmd.colorscheme 'espresso-tutti-colori' | 708 vim.cmd.colorscheme 'espresso-tutti-colori' |
704 end | 709 end |
705 | 710 |
706 -- Configuration | 711 -- Configuration |
707 vim.opt.backspace = { 'indent', 'eol', 'start' } -- Backspace everything | 712 vim.opt.backspace = { 'indent', 'eol', 'start' } -- Backspace everything |