-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to make this plugin work with kickstart.nvim #65
Comments
Thanks @alker0! I reverted my
Does the plugin rely on anything external for the filetype detection? |
Thank you for trying to reset your config. This issue doesn't seem to come from a plugins combination.
No, it doesn't depend any externals unless you enable the option {
'alker0/chezmoi.vim',
lazy = false,
init = function(plugin)
vim.g['chezmoi#use_tmp_buffer'] = true
-- Specify your chezmoi source dir path instead of this example path.
vim.g['g:chezmoi#source_dir_path'] = os.getenv('HOME') .. '/dotfiles'
end,
}, Please try it if you placed the source directory where isn't default. If not, call these commands in editing
|
If you care about privacy of your environment, you have to tell me only |
Thanks! It was the
Can the plugin be adapted to pick up the |
FWIW: For kickstart.nvim users that do want to minimize changes to return {
'alker0/chezmoi.vim',
lazy = false,
init = function()
vim.g['chezmoi#use_tmp_buffer'] = true
-- adapt to your actual source dir path IF not using the standard path
-- see `chezmoi data | grep sourceDir`
vim.g["chezmoi#source_dir_path"] = vim.fn.expand("$HOME/dotfiles")
end,
} |
Great:tada: Thank you for some pointers. Sure, the
Please try to add You can get more details from the |
Oh, I didn't know that cool hack. We need to add only Thank you a lot for your helping improvement of documentation. |
Very welcome!
|
I am trying to get his plugin to work in Neovim 0.9 with the popular https://github.com/nvim-lua/kickstart.nvim
I am using the proposed fix in #57 (comment).
What does not work: the filetype detection:
template
gets detected. When I manually set the filetype in the buffer to e.g.sh.chezmoitmpl
on a file calledrun_once_setup.sh.tmpl
it works.I know this kind of support is out of scope for this plugin. Any pointers are still appreciated!
Also: Consider to include the config for lazy.nvim in the README
The text was updated successfully, but these errors were encountered: