aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2024-08-07 10:50:48 +0200
committerAdam Stück <adam@adast.dk>2024-08-07 10:50:48 +0200
commitdad67bc9eee581c447759bd7e74253bdeb9ad341 (patch)
tree0b9de5a2f0df13f3468eb43c865da1c08878628a
parente1d0c859d6ccd311c6e3d9edbea8a7ef2f4895ce (diff)
use onehalf colourscheme
https://github.com/sonph/onehalf https://github.com/sonph/onehalf/pull/145
-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',