back to og config, and the line is transparent!!
This commit is contained in:
parent
1187947f5c
commit
d16f21a655
4 changed files with 35 additions and 44 deletions
|
@ -15,3 +15,20 @@
|
||||||
-- section_separators = '',
|
-- section_separators = '',
|
||||||
-- },
|
-- },
|
||||||
-- }
|
-- }
|
||||||
|
local theme = require("lualine.themes.rose-pine")
|
||||||
|
local modes = { "normal", "insert", "visual", "replace", "command", "inactive" }
|
||||||
|
for _, mode in ipairs(modes) do
|
||||||
|
theme[mode].c.bg = "none"
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- Set lualine as statusline
|
||||||
|
-- See `:help lualine.txt`
|
||||||
|
require('lualine').setup {
|
||||||
|
options = {
|
||||||
|
icons_enabled = false,
|
||||||
|
theme = theme,
|
||||||
|
component_separators = '|',
|
||||||
|
section_separators = '',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
-- require('rose-pine').setup({
|
require('rose-pine').setup({
|
||||||
-- groups = {
|
groups = {
|
||||||
-- background = 'none'
|
background = 'none'
|
||||||
-- },
|
},
|
||||||
-- highlight_groups = {
|
highlight_groups = {
|
||||||
-- MsgArea = { bg = 'none' },
|
MsgArea = { bg = 'none' },
|
||||||
-- }
|
}
|
||||||
-- })
|
})
|
||||||
--
|
|
||||||
-- vim.cmd('colorscheme rose-pine')
|
vim.cmd('colorscheme rose-pine')
|
||||||
--
|
|
||||||
--
|
|
||||||
|
|
|
@ -19,18 +19,6 @@ return require('packer').startup(function(use)
|
||||||
use {
|
use {
|
||||||
'rose-pine/neovim',
|
'rose-pine/neovim',
|
||||||
as = 'rose-pine',
|
as = 'rose-pine',
|
||||||
config = function()
|
|
||||||
require('rose-pine').setup({
|
|
||||||
groups = {
|
|
||||||
background = 'none'
|
|
||||||
},
|
|
||||||
highlight_groups = {
|
|
||||||
MsgArea = { bg = 'none' },
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.cmd('colorscheme rose-pine')
|
|
||||||
end
|
|
||||||
}
|
}
|
||||||
|
|
||||||
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' })
|
||||||
|
@ -49,25 +37,6 @@ return require('packer').startup(function(use)
|
||||||
use {
|
use {
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
after = 'rose-pine',
|
after = 'rose-pine',
|
||||||
config = function()
|
|
||||||
local theme = require("lualine.themes.rose-pine")
|
|
||||||
local modes = { "normal", "insert", "visual", "replace", "command", "inactive" }
|
|
||||||
for _, mode in ipairs(modes) do
|
|
||||||
theme[mode].c.bg = "none"
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
-- Set lualine as statusline
|
|
||||||
-- See `:help lualine.txt`
|
|
||||||
require('lualine').setup {
|
|
||||||
options = {
|
|
||||||
icons_enabled = false,
|
|
||||||
theme = 'rose-pine',
|
|
||||||
component_separators = '|',
|
|
||||||
section_separators = '',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
end
|
|
||||||
} -- Fancier statusline
|
} -- Fancier statusline
|
||||||
|
|
||||||
use 'numToStr/Comment.nvim' -- "gc" to comment visual regions/lines
|
use 'numToStr/Comment.nvim' -- "gc" to comment visual regions/lines
|
||||||
|
|
|
@ -130,8 +130,10 @@ _G.packer_plugins = {
|
||||||
url = "https://github.com/VonHeikemen/lsp-zero.nvim"
|
url = "https://github.com/VonHeikemen/lsp-zero.nvim"
|
||||||
},
|
},
|
||||||
["lualine.nvim"] = {
|
["lualine.nvim"] = {
|
||||||
|
load_after = {},
|
||||||
loaded = true,
|
loaded = true,
|
||||||
path = "/Users/zynh/.local/share/nvim/site/pack/packer/start/lualine.nvim",
|
needs_bufread = false,
|
||||||
|
path = "/Users/zynh/.local/share/nvim/site/pack/packer/opt/lualine.nvim",
|
||||||
url = "https://github.com/nvim-lualine/lualine.nvim"
|
url = "https://github.com/nvim-lualine/lualine.nvim"
|
||||||
},
|
},
|
||||||
["mason-lspconfig.nvim"] = {
|
["mason-lspconfig.nvim"] = {
|
||||||
|
@ -229,6 +231,11 @@ time([[Config for which-key.nvim]], false)
|
||||||
time([[Conditional loading of telescope-fzf-native.nvim]], true)
|
time([[Conditional loading of telescope-fzf-native.nvim]], true)
|
||||||
require("packer.load")({"telescope-fzf-native.nvim"}, {}, _G.packer_plugins)
|
require("packer.load")({"telescope-fzf-native.nvim"}, {}, _G.packer_plugins)
|
||||||
time([[Conditional loading of telescope-fzf-native.nvim]], false)
|
time([[Conditional loading of telescope-fzf-native.nvim]], false)
|
||||||
|
-- Load plugins in order defined by `after`
|
||||||
|
time([[Sequenced loading]], true)
|
||||||
|
vim.cmd [[ packadd rose-pine ]]
|
||||||
|
vim.cmd [[ packadd lualine.nvim ]]
|
||||||
|
time([[Sequenced loading]], false)
|
||||||
|
|
||||||
_G._packer.inside_compile = false
|
_G._packer.inside_compile = false
|
||||||
if _G._packer.needs_bufread == true then
|
if _G._packer.needs_bufread == true then
|
||||||
|
|
Loading…
Reference in a new issue