change lualine config
This commit is contained in:
parent
c6a756fea7
commit
5f24a28eb9
1 changed files with 6 additions and 13 deletions
19
init.lua
19
init.lua
|
|
@ -12,7 +12,7 @@ opt.signcolumn = "yes"
|
||||||
vim.lsp.inlay_hint.enable = true
|
vim.lsp.inlay_hint.enable = true
|
||||||
opt.tabstop = 8
|
opt.tabstop = 8
|
||||||
vim.opt.expandtab = true
|
vim.opt.expandtab = true
|
||||||
vim.g.tinted_background_transparent = 0
|
vim.g.tinted_background_transparent = 1
|
||||||
opt.swapfile = false
|
opt.swapfile = false
|
||||||
opt.winborder = "single"
|
opt.winborder = "single"
|
||||||
|
|
||||||
|
|
@ -27,7 +27,7 @@ vim.diagnostic.config({
|
||||||
vim.pack.add({
|
vim.pack.add({
|
||||||
"https://github.com/folke/snacks.nvim",
|
"https://github.com/folke/snacks.nvim",
|
||||||
"https://github.com/nvim-lualine/lualine.nvim",
|
"https://github.com/nvim-lualine/lualine.nvim",
|
||||||
"https://github.com/RRethy/base16-nvim",
|
"https://github.com/tinted-theming/tinted-vim",
|
||||||
"https://github.com/akinsho/bufferline.nvim",
|
"https://github.com/akinsho/bufferline.nvim",
|
||||||
"https://github.com/nvimdev/lspsaga.nvim",
|
"https://github.com/nvimdev/lspsaga.nvim",
|
||||||
"https://github.com/neovim/nvim-lspconfig",
|
"https://github.com/neovim/nvim-lspconfig",
|
||||||
|
|
@ -80,13 +80,6 @@ require("snacks").setup({
|
||||||
notifier = { enabled = true },
|
notifier = { enabled = true },
|
||||||
statuscolumn = { enabled = true },
|
statuscolumn = { enabled = true },
|
||||||
picker = {},
|
picker = {},
|
||||||
styles = {
|
|
||||||
dashboard = {
|
|
||||||
wo = {
|
|
||||||
statusline = "%!v:lua.require'lualine'.statusline()", -- Use lualine
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
dashboard = {
|
dashboard = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
width = 60,
|
width = 60,
|
||||||
|
|
@ -204,15 +197,15 @@ require("cord").setup({
|
||||||
})
|
})
|
||||||
require("lualine").setup({
|
require("lualine").setup({
|
||||||
options = {
|
options = {
|
||||||
component_separators = { left = "", right = "" },
|
section_separators = { left = "", right = "" },
|
||||||
section_separators = { left = "", right = "" },
|
component_separators = { left = "|", right = "|" },
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = { "mode" },
|
lualine_a = { "mode" },
|
||||||
lualine_b = { "diagnostics" },
|
lualine_b = { "diagnostics" },
|
||||||
lualine_c = { "filename", "branch", "navic" },
|
lualine_c = { "filename", "branch", "navic" },
|
||||||
lualine_x = { "lsp_status", "filetype" },
|
lualine_x = { "lsp_status", "filetype", "filesize" },
|
||||||
lualine_y = { "progress" },
|
lualine_y = { "" },
|
||||||
lualine_z = { "location" },
|
lualine_z = { "location" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue