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