From 5c74465420ee2de3c7bfdaff51e888d33d758d1d Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 15 Dec 2022 21:13:08 +0100 Subject: vim: use nvim 0.9 indexable vim.cmd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .vim/lua/plugins.lua | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua index e9ada46..404cf55 100644 --- a/.vim/lua/plugins.lua +++ b/.vim/lua/plugins.lua @@ -1265,18 +1265,26 @@ require('packer').startup({function() config = function() end} -- }}} - use {'yorik1984/newpaper.nvim', -- {{{ + use {'yorik1984/newpaper.nvim', disable = true, -- {{{ config = function() if vim.g.night_and_day == 'day' then require('newpaper').setup() end end} -- }}} + use {'nyoom-engineering/oxocarbon.nvim', disable = false, -- {{{ + config = function() + if vim.g.night_and_day == 'day' then + vim.opt.background = 'light' + vim.cmd.colorscheme 'oxocarbon' + end + end} -- }}} + use {'https://git.sr.ht/~robertgzr/karafuru', rtp = 'vim', -- {{{ run = 'make colorscheme', config = function() if not vim.g.night_and_day or vim.g.night_and_day == 'night' then - vim.cmd [[colorscheme karafuru]] + vim.cmd.colorscheme "karafuru" end end} -- }}} -- cgit 1.4.1