aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lua/kickstart/plugins/onehalf.lua (renamed from lua/kickstart/plugins/tokyonight.lua)8
-rw-r--r--lua/lazy-plugins.lua3
2 files changed, 5 insertions, 6 deletions
diff --git a/lua/kickstart/plugins/tokyonight.lua b/lua/kickstart/plugins/onehalf.lua
index 3e5e74d..e6fc2be 100644
--- a/lua/kickstart/plugins/tokyonight.lua
+++ b/lua/kickstart/plugins/onehalf.lua
@@ -4,14 +4,14 @@ return {
-- change the command in the config to whatever the name of that colorscheme is.
--
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
- 'folke/tokyonight.nvim',
+ 'sonph/onehalf',
priority = 1000, -- Make sure to load this before all the other start plugins.
- init = function()
+ config = function(plugin)
+ vim.opt.rtp:append(plugin.dir .. '/vim')
-- Load the colorscheme here.
-- Like many other themes, this one has different styles, and you could load
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
- vim.cmd.colorscheme 'tokyonight-night'
-
+ vim.cmd.colorscheme 'onehalfdark'
-- You can configure highlights by doing something like:
vim.cmd.hi 'Comment gui=none'
end,
diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua
index f601d39..7c07294 100644
--- a/lua/lazy-plugins.lua
+++ b/lua/lazy-plugins.lua
@@ -20,7 +20,6 @@ require('lazy').setup({
-- Use `opts = {}` to force a plugin to be loaded.
--
-
-- modular approach: using `require 'path/name'` will
-- include a plugin definition from file lua/path/name.lua
@@ -36,7 +35,7 @@ require('lazy').setup({
require 'kickstart/plugins/cmp',
- require 'kickstart/plugins/tokyonight',
+ require 'kickstart/plugins/onehalf',
require 'kickstart/plugins/todo-comments',