summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-08-28 15:21:35 +0530
committersinanmohd <sinan@firemail.cc>2023-08-28 15:43:20 +0530
commit2aaf9d91dd8255857eb315396c1ced6c17ebfee4 (patch)
tree5323e6cccacc99ae03a5f59288fd63b093ea982f
parentb98fd0ba461fe4ade915b70f3bb6f9764771231f (diff)
config/nvim/lualine: update opts
-rw-r--r--.config/nvim/init.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 804cee3..3963e93 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -8,6 +8,7 @@ vim.o.undofile = true
vim.o.mouse = false
vim.o.guicursor = false
vim.o.termguicolors = true
+vim.o.shortmess = "I"
vim.wo.number = true
vim.wo.relativenumber = true
vim.wo.signcolumn = "yes"
@@ -97,8 +98,16 @@ require("lazy").setup({
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
opts = {
+ sections = {
+ lualine_a = { "mode" },
+ lualine_b = { "branch", "diff", "diagnostics" },
+ lualine_c = { "buffers" },
+ lualine_x = { "fileformat", "encoding" },
+ lualine_y = { "progress" },
+ lualine_z = { "location" }
+ },
options = {
- component_separators = "|",
+ component_separators = "",
section_separators = "",
},
},