feat: make bg transparent
This commit is contained in:
parent
104a2849db
commit
a8afd3df58
@ -11,8 +11,9 @@ local paq = require("paq");
|
|||||||
paq:setup({verbose=true}) {
|
paq:setup({verbose=true}) {
|
||||||
{url="git@github.com:savq/paq-nvim"}, -- Let Paq manage itself
|
{url="git@github.com:savq/paq-nvim"}, -- Let Paq manage itself
|
||||||
-- Theming Plugins
|
-- Theming Plugins
|
||||||
{url="git@github.com:kaicataldo/material.vim", branch = "main"},
|
{url="git@github.com:marko-cerovac/material.nvim"},
|
||||||
{url="git@github.com:ryanoasis/vim-devicons"},
|
{url="git@github.com:ryanoasis/vim-devicons"},
|
||||||
|
{url="git@github.com:xiyaowong/nvim-transparent"},
|
||||||
-- Layout Plugins
|
-- Layout Plugins
|
||||||
{url="git@github.com:preservim/nerdtree"},
|
{url="git@github.com:preservim/nerdtree"},
|
||||||
{url="git@github.com:hoob3rt/lualine.nvim"},
|
{url="git@github.com:hoob3rt/lualine.nvim"},
|
||||||
@ -31,9 +32,9 @@ paq:setup({verbose=true}) {
|
|||||||
{url="git@github.com:akinsho/nvim-toggleterm.lua"}
|
{url="git@github.com:akinsho/nvim-toggleterm.lua"}
|
||||||
}
|
}
|
||||||
|
|
||||||
if u.has_plugin("nvim-treesiter") then
|
if u.has_plugin("material") then
|
||||||
paq.install();
|
|
||||||
else
|
print("Load config")
|
||||||
|
|
||||||
-- Global options
|
-- Global options
|
||||||
o.number = true
|
o.number = true
|
||||||
@ -52,13 +53,12 @@ else
|
|||||||
g.NERDTreeMinimalUI = true
|
g.NERDTreeMinimalUI = true
|
||||||
g.NERDTreeDirArrows = true
|
g.NERDTreeDirArrows = true
|
||||||
g.hidden = true
|
g.hidden = true
|
||||||
g.material_theme_style = "ocean_community"
|
g.material_style = "deep ocean"
|
||||||
if u.has_plugin("material") then
|
require('material').set()
|
||||||
cmd [[colorscheme material]]
|
require("transparent").setup({enable = true})
|
||||||
end
|
|
||||||
-- Remove background color
|
-- Remove background color
|
||||||
cmd [[highlight Normal guibg=none]]
|
cmd("highlight Normal guibg=none")
|
||||||
cmd [[highlight NonText guibg=none]]
|
cmd("highlight NonText guibg=none")
|
||||||
|
|
||||||
-- KeyBindings
|
-- KeyBindings
|
||||||
g.mapleader = " "
|
g.mapleader = " "
|
||||||
@ -90,4 +90,7 @@ else
|
|||||||
-- Autoformat
|
-- Autoformat
|
||||||
require "autoformatter"
|
require "autoformatter"
|
||||||
|
|
||||||
|
|
||||||
|
else
|
||||||
|
paq.install();
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user