aboutsummaryrefslogtreecommitdiff
path: root/nvim/.config/nvim/lua/plugins/lualine.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/.config/nvim/lua/plugins/lualine.lua')
-rw-r--r--nvim/.config/nvim/lua/plugins/lualine.lua66
1 files changed, 66 insertions, 0 deletions
diff --git a/nvim/.config/nvim/lua/plugins/lualine.lua b/nvim/.config/nvim/lua/plugins/lualine.lua
new file mode 100644
index 0000000..638e9d3
--- /dev/null
+++ b/nvim/.config/nvim/lua/plugins/lualine.lua
@@ -0,0 +1,66 @@
+return {
+ "nvim-lualine/lualine.nvim",
+ requiers = "meuter/lualine-so-fancy.nvim",
+ -- enabled = false,
+ lazy = false,
+ event = { "BufReadPost", "BufNewFile", "VeryLazy" },
+ config = function()
+ -- local icons = require("config.icons")
+ require("lualine").setup({
+ options = {
+ theme = "auto",
+ -- theme = "github_dark",
+ -- theme = "catppuccin",
+ globalstatus = true,
+ icons_enabled = true,
+ -- component_separators = { left = "│", right = "│" },
+ component_separators = { left = "|", right = "|" },
+ section_separators = { left = "", right = "" },
+ disabled_filetypes = {
+ statusline = {
+ "help",
+ "neo-tree",
+ "Trouble",
+ },
+ winbar = {},
+ },
+ },
+ sections = {
+ lualine_a = {},
+ lualine_b = {
+ "fancy_branch",
+ },
+ lualine_c = {
+ {
+ "filename",
+ path = 1, -- 2 for full path
+ symbols = {
+ modified = "  ",
+ -- readonly = "  ",
+ -- unnamed = "  ",
+ },
+ },
+ { "fancy_diagnostics", sources = { "nvim_lsp" }, symbols = { error = " ", warn = " ", info = " " } },
+ { "fancy_searchcount" },
+ },
+ lualine_x = {
+ "fancy_lsp_servers",
+ "fancy_diff",
+ "progress",
+ },
+ lualine_y = {},
+ lualine_z = {},
+ },
+ inactive_sections = {
+ lualine_a = {},
+ lualine_b = {},
+ lualine_c = { "filename" },
+ -- lualine_x = { "location" },
+ lualine_y = {},
+ lualine_z = {},
+ },
+ tabline = {},
+ extensions = { "neo-tree", "lazy" },
+ })
+ end,
+}