alker0 / chezmoi.vim

Highlight dotfiles you manage with chezmoi.
Other
119 stars 3 forks source link

This plugin does not work with `lazy.nvim` #57

Closed latipun7 closed 1 year ago

latipun7 commented 1 year ago

Neovim now have a modern plugin manager. Lot of users migrating to lazy.nvim now.

But this plugin does not work with lazy.nvim as that plugin manager has custom logic to load plugins.

I have opened issue to lazy.nvim in https://github.com/folke/lazy.nvim/discussions/369 with some details. Does this plugin can be supported to works with lazy.nvim?

Thank you.

alker0 commented 1 year ago

Try setting g:chezmoi#use_tmp_buffer to on. It should works with any ordering of filetype detection.

Example:

{
  'alker0/chezmoi.vim',
  lazy = false,
  init = function()
    vim.g['chezmoi#use_tmp_buffer'] = true
  end,
}
latipun7 commented 1 year ago

Thank you. This is working on my end. I haven't found a bug for now. You could close this issue.

Thank you 🎉

alker0 commented 1 year ago

Great :tada:

Thank you for letting me know the cool plugin manager I didn't know.