Mr-LLLLL/lualine-ext.nvim

github github
bars-and-linesstatusline
stars 11
issues 0
subscribers 1
forks 1
CREATED

2024-03-10

UPDATED

7 days ago


lualine-ext.nvim

Show more information on lualine for Neovim

  • Show cursor symbol references, implementations, hover in lualine_c.

Screenshot

  • Show projects name in tabline_a of lualine.

Screenshot

  • Show date details in tabline_z of lualine.

Screenshot

Installation

With lazy.nvim:

    {
        "Mr-LLLLL/lualine-ext.nvim",
        event = "VeryLazy",
        dependencies = {
            "nvim-lualine/lualine.nvim",
            -- if you want to open telescope window when click on LSP info of lualine, uncomment it
            -- "nvim-telescope/telescope.nvim"
        },
        opts = {
            separator = {
                left = "",
                right = "",
            },
            init_tab_project = {
                disabled = false,
                -- set this for your colorscheme. I have not default setting in diff colorcheme. 
                tabs_color = {
                    inactive = {
                        fg = "#9da9a0",
                        bg = "#4f5b58",
                    },
                }
            },
            init_lsp = {
                disabled = false,
            },
            init_tab_date = true,
        }
    }
  • Show harpoon in tabline_b of lualine but need harpoon

Screenshot

   { 
       "ThePrimeagen/harpoon",
       branch = "harpoon2",
       dependencies = { "nvim-lua/plenary.nvim" },
       config = function()
       ...
       require("lualine-ext").init_harpoon()
       ...
       end
   }
  • Show navic in tabline_c of lualine but need nvim-navic

Screenshot

    {
        "SmiteshP/nvim-navic",
        event = "VeryLazy",
        dependencies = {
            "nvim-lualine/lualine.nvim",
        },
        config = function()
            ...
            require("lualine-ext").init_tab_navic()
            ...
        end
    }
  • Show git blame in tabline_x of lualine but need gitsigns

Screenshot

{
        'lewis6991/gitsigns.nvim',
        event = "VeryLazy",
        dependencies = {
            "nvim-lualine/lualine.nvim",
        },
        config = function()
            ...
            require("lualine-ext").init_tab_blame()
            ...
        end
    }
  • Show key command and recording mode in section_x of lualine but need noice.nvim

Screenshot

{
        "folke/noice.nvim",
        event = "VeryLazy",
        dependencies = {
            "nvim-lualine/lualine.nvim",
        },
        config = function()
            ...
            require("lualine-ext").init_noice()
            ...
        end
    }