From 326a18a91d5b95d6efe397d1e3f3260ad7ecb47f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 5 Nov 2023 21:03:14 +0100 Subject: nvim: Simplify theme config --- .config/nvim/after/plugin/colors.lua | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to '.config/nvim/after') diff --git a/.config/nvim/after/plugin/colors.lua b/.config/nvim/after/plugin/colors.lua index 30e6b7f..596a676 100644 --- a/.config/nvim/after/plugin/colors.lua +++ b/.config/nvim/after/plugin/colors.lua @@ -2,22 +2,4 @@ require('rose-pine').setup({ disable_background = true }) -function SetTheme(color) - local hl = vim.api.nvim_set_hl - vim.cmd.colorscheme(color or 'rose-pine') - vim.g.neovide_transparency = 0.9 - hl(0, 'Normal', vim.g.neovide and { - fg = '#C5C8C6', - bg = '#2B303B', - } or { - fg = 'none', - bg = 'none', - }) - - hl(0, 'NormalFloat', { bg = 'none' }) - hl(0, 'LineNr', { fg = 'white' }) - hl(0, 'LineNrAbove', { fg = 'grey' }) - hl(0, 'LineNrBelow', { fg = 'grey' }) -end - -SetTheme() +vim.cmd.colorscheme('rose-pine') -- cgit v1.2.3