Show more information on lualine for Neovim
- Show cursor symbol references, implementations, hover in lualine_c.
- Show projects name in tabline_a of lualine.
- Show date details in tabline_z of lualine.
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
{
"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
{
"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
{
'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
{
"folke/noice.nvim",
event = "VeryLazy",
dependencies = {
"nvim-lualine/lualine.nvim",
},
config = function()
...
require("lualine-ext").init_noice()
...
end
}