Skip to content

Lualine integration #1157

Answered by ravitemer
istrupin asked this question in Q&A
Mar 20, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Instead of using the opts, try config

opts being a table will be resolved while the plugin spec is being determined , whereas config being a function will be called after all the plugins specs are loaded.

return {
    "nvim-lualine/lualine.nvim",
    dependencies = { "nvim-tree/nvim-web-devicons" },
    config = function()
        require("lualine").setup({
            options = {
                icons_enabled = true,
                -- theme = 'auto',
                theme = "rose-pine",
                component_separators = { left = "", right = "" },
                section_separators = { left = "", right = "" },
                disabled_filetypes = {
                    statusline =

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@istrupin
Comment options

Answer selected by istrupin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants