summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-05 21:03:14 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-05 21:03:14 +0100
commit326a18a91d5b95d6efe397d1e3f3260ad7ecb47f (patch)
treee752c587a3ef7993f0fe78db98625a87110d9d35 /.config
parenta67bc5647ede4433ffe6dfdeac36dc6fc716e971 (diff)
nvim: Simplify theme config
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/after/plugin/colors.lua20
-rw-r--r--.config/nvim/lua/mango/packer.lua3
2 files changed, 1 insertions, 22 deletions
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')
diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua
index 5d0a621..ec25aef 100644
--- a/.config/nvim/lua/mango/packer.lua
+++ b/.config/nvim/lua/mango/packer.lua
@@ -8,9 +8,6 @@ return require('packer').startup(function(use)
use {
'rose-pine/neovim',
as = 'rose-pine',
- config = function()
- vim.cmd.colorscheme('rose-pine')
- end
}
use {