summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-04-06 22:06:06 +0530
committersinanmohd <sinan@firemail.cc>2023-04-06 22:06:06 +0530
commit22cb79300ff2076ef82c0051c0c3e3b077b6dc16 (patch)
tree162e37bf0ace5ae393c1683ed5ffbcfc304e4de8 /.config/nvim
parent9cfd7e2e4e986a4be06e3120c483524bc176ae43 (diff)
nvim: make the background transparent
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index e083018..8e35f4b 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -75,7 +75,9 @@ require('lazy').setup({
{ -- Theme inspired by Atom
'navarasu/onedark.nvim',
priority = 1000,
- config = function()
+ opts = { transparent = true },
+ config = function(_, opts)
+ require('onedark').setup(opts)
vim.cmd.colorscheme 'onedark'
end,
},