diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-09-08 17:29:21 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-09-08 17:29:21 +0000 |
commit | b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff (patch) | |
tree | 39576dcd545bb0a1c41c4af9bdf00d89ebb9198f /.config/nvim/lua/statusline.lua | |
parent | f13e82880cfcb566df62d9d3c787cc021273142e (diff) | |
download | dotfiles-b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff.tar dotfiles-b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff.tar.gz dotfiles-b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff.tar.bz2 dotfiles-b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff.tar.lz dotfiles-b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff.tar.xz dotfiles-b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff.tar.zst dotfiles-b57d4cb883e8f016cfbc89c87e6594f0c2aef1ff.zip |
New neovim config
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/statusline.lua | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/nvim/lua/statusline.lua b/.config/nvim/lua/statusline.lua new file mode 100644 index 0000000..3eef3c6 --- /dev/null +++ b/.config/nvim/lua/statusline.lua @@ -0,0 +1,31 @@ +require("bufferline").setup { options = { diagnostics = "nvim_lsp" } } + +require("lualine").setup { + options = { + icons_enabled = true; + theme = "auto"; + component_separators = { left = ""; right = "" }; + section_separators = { left = ""; right = "" }; + disabled_filetypes = {}; + always_divide_middle = true; + globalstatus = false; + }; + sections = { + lualine_a = { "mode" }; + lualine_b = { "branch"; "diff"; "diagnostics" }; + lualine_c = { "filename" }; + lualine_x = { "encoding"; "fileformat"; "filetype" }; + lualine_y = { "progress" }; + lualine_z = { "location" }; + }; + inactive_sections = { + lualine_a = {}; + lualine_b = {}; + lualine_c = { "filename" }; + lualine_x = { "location" }; + lualine_y = {}; + lualine_z = {}; + }; + extensions = {}; +} + |