aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins/onehalf.lua
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 /lua/kickstart/plugins/onehalf.lua
parente1d0c859d6ccd311c6e3d9edbea8a7ef2f4895ce (diff)
use onehalf colourscheme
https://github.com/sonph/onehalf https://github.com/sonph/onehalf/pull/145
Diffstat (limited to 'lua/kickstart/plugins/onehalf.lua')
-rw-r--r--lua/kickstart/plugins/onehalf.lua20
1 files changed, 20 insertions, 0 deletions
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