summary refs log tree commit diff
path: root/.vim/lua/plugins.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/lua/plugins.lua')
-rw-r--r--.vim/lua/plugins.lua18
1 files changed, 14 insertions, 4 deletions
diff --git a/.vim/lua/plugins.lua b/.vim/lua/plugins.lua
index aa914d1..66eccfe 100644
--- a/.vim/lua/plugins.lua
+++ b/.vim/lua/plugins.lua
@@ -1174,15 +1174,25 @@ require('packer').startup({function()
     end} -- }}}
 
 
-  -- NOTE: local/personal stuff
-  use {'~/devel/projects/k2', rtp = 'nvim',
+  use {'yorik1984/newpaper.nvim',
     config = function()
-      require('k2').setup()
+      if vim.g.night_and_day == 'day' then
+        require('newpaper').setup()
+      end
     end}
   -- use {'https://git.sr.ht/~robertgzr/karafuru', rtp = 'vim',
   use {'~/devel/projects/karafuru', rtp = 'vim', disable = false,
     run = 'make colorscheme',
-    config = function() vim.cmd [[colorscheme karafuru]] end}
+    config = function()
+      if not vim.g.night_and_day or vim.g.night_and_day == 'night' then
+        vim.cmd [[colorscheme karafuru]]
+      end
+    end}
+
+  use {'~/devel/projects/k2', rtp = 'nvim',
+    config = function()
+      require('k2').setup()
+    end}
 
 end,
 config = {