diff options
author | sinanmohd <sinan@firemail.cc> | 2023-08-28 15:21:35 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-08-28 15:43:20 +0530 |
commit | 2aaf9d91dd8255857eb315396c1ced6c17ebfee4 (patch) | |
tree | 5323e6cccacc99ae03a5f59288fd63b093ea982f /.config/nvim | |
parent | b98fd0ba461fe4ade915b70f3bb6f9764771231f (diff) |
config/nvim/lualine: update opts
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/init.lua | 11 |
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 = "", }, }, |