aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/statusline.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/nvim/lua/statusline.lua31
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 = {};
+}
+