Fixing lualine not showing colors sometimes.
This commit is contained in:
parent
5deb348211
commit
c46f31862a
@ -15,40 +15,47 @@ vim.opt.rtp:prepend(lazypath)
|
||||
-- define plugins
|
||||
require("lazy").setup {
|
||||
"bitc/vim-bad-whitespace",
|
||||
{ "tanvirtin/monokai.nvim", config = function() require("monokai").setup() end },
|
||||
{ "NvChad/nvim-colorizer.lua", config = function() require("colorizer").setup() end },
|
||||
{ "numToStr/Comment.nvim", config = function() require("Comment").setup() end },
|
||||
{ "lewis6991/gitsigns.nvim", config = function() require("gitsigns").setup {
|
||||
signs = {
|
||||
add = { text = "▎" },
|
||||
change = { text = "▎" },
|
||||
delete = { text = "▎" },
|
||||
topdelete = { text = "契" },
|
||||
changedelete = { text = "▎" },
|
||||
untracked = { text = "▎" },
|
||||
},
|
||||
} end },
|
||||
{ "nvim-lualine/lualine.nvim", config = function() require("lualine").setup {
|
||||
options = {
|
||||
component_separators = '',
|
||||
icons_enabled = false,
|
||||
section_separators = '',
|
||||
theme = "powerline",
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { "mode" },
|
||||
lualine_b = { { "filename", file_status = true, path = 1 } },
|
||||
lualine_c = { "branch" },
|
||||
lualine_x = { "filetype" },
|
||||
lualine_y = { "progress" },
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
} end },
|
||||
{ "nvim-treesitter/nvim-treesitter", config = function() require("nvim-treesitter.configs").setup {
|
||||
"NvChad/nvim-colorizer.lua",
|
||||
"numToStr/Comment.nvim",
|
||||
"lewis6991/gitsigns.nvim",
|
||||
"tanvirtin/monokai.nvim",
|
||||
"nvim-lualine/lualine.nvim",
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
}
|
||||
|
||||
require("monokai").setup{}
|
||||
require("Comment").setup{}
|
||||
require("colorizer").setup{}
|
||||
require("gitsigns").setup {
|
||||
signs = {
|
||||
add = { text = "▎" },
|
||||
change = { text = "▎" },
|
||||
delete = { text = "▎" },
|
||||
topdelete = { text = "契" },
|
||||
changedelete = { text = "▎" },
|
||||
untracked = { text = "▎" },
|
||||
},
|
||||
}
|
||||
require("lualine").setup {
|
||||
options = {
|
||||
component_separators = '',
|
||||
icons_enabled = false,
|
||||
section_separators = '',
|
||||
theme = "powerline",
|
||||
},
|
||||
sections = {
|
||||
lualine_a = { "mode" },
|
||||
lualine_b = { { "filename", file_status = true, path = 1 } },
|
||||
lualine_c = { "branch" },
|
||||
lualine_x = { "filetype" },
|
||||
lualine_y = { "progress" },
|
||||
lualine_z = { "location" },
|
||||
},
|
||||
}
|
||||
require("nvim-treesitter.configs").setup {
|
||||
build = ":TSUpdate",
|
||||
ensure_installed = { "bash", "python", "terraform", "vim", "yaml" },
|
||||
highlight = { enable = true },
|
||||
} end },
|
||||
}
|
||||
|
||||
-- modify colorcheme
|
||||
|
Loading…
Reference in New Issue
Block a user