mawkler / modicator.nvim

Cursor line number mode indicator plugin for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Is there any method to make modicator.nvim work with lualine after I change colorscheme in neovim?

tan-wei opened this issue · comments

For now, if we change colorscheme (which means the new colorscheme is loaded after modicator.nvim), modicator.nvim will not work with lualine. Is there any method to reload modicator.nvim to support this refresh?

@tan-wei This should already be supported. However, I'm refactoring the lualine integration, which will hopefully eradicate some bugs. Please try out the branch lualine-refactor, which if you're using lazy.nvim can be done like so, followed by a :Lazy update:

{
  'mawkler/modicator.nvim',
  branch = 'lualine-refactor',
  init = function()
    vim.o.cursorline = true
    vim.o.number = true
    vim.o.termguicolors = true
  end,
  opts = {}
},

Let me know if that solves the issue for you!

OK, I'll try then.