From dad67bc9eee581c447759bd7e74253bdeb9ad341 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Wed, 7 Aug 2024 10:50:48 +0200 Subject: use onehalf colourscheme https://github.com/sonph/onehalf https://github.com/sonph/onehalf/pull/145 --- lua/kickstart/plugins/onehalf.lua | 20 ++++++++++++++++++++ lua/kickstart/plugins/tokyonight.lua | 20 -------------------- lua/lazy-plugins.lua | 3 +-- 3 files changed, 21 insertions(+), 22 deletions(-) create mode 100644 lua/kickstart/plugins/onehalf.lua delete mode 100644 lua/kickstart/plugins/tokyonight.lua diff --git a/lua/kickstart/plugins/onehalf.lua b/lua/kickstart/plugins/onehalf.lua new file mode 100644 index 0000000..e6fc2be --- /dev/null +++ b/lua/kickstart/plugins/onehalf.lua @@ -0,0 +1,20 @@ +return { + { -- You can easily change to a different colorscheme. + -- Change the name of the colorscheme plugin below, and then + -- 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`. + 'sonph/onehalf', + priority = 1000, -- Make sure to load this before all the other start plugins. + 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 'onehalfdark' + -- You can configure highlights by doing something like: + vim.cmd.hi 'Comment gui=none' + end, + }, +} +-- vim: ts=2 sts=2 sw=2 et diff --git a/lua/kickstart/plugins/tokyonight.lua b/lua/kickstart/plugins/tokyonight.lua deleted file mode 100644 index 3e5e74d..0000000 --- a/lua/kickstart/plugins/tokyonight.lua +++ /dev/null @@ -1,20 +0,0 @@ -return { - { -- You can easily change to a different colorscheme. - -- Change the name of the colorscheme plugin below, and then - -- 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', - priority = 1000, -- Make sure to load this before all the other start plugins. - init = function() - -- 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' - - -- You can configure highlights by doing something like: - vim.cmd.hi 'Comment gui=none' - end, - }, -} --- vim: ts=2 sts=2 sw=2 et 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', -- cgit v1.2.3-70-g09d2