Open starptr opened 1 year ago
Similar issue using https://github.com/airblade/vim-rooter. Doing vim.cmd('echo g:rooter_patterns')
in after/plugin
works fine, but doing it either as a string or inside a function for the config
gives me an error that the variable is not yet initialized.
nvim --version
: v0.8.1git --version
: 2.37.1Steps to reproduce
Use the
which-key
plugin. When configuring, placein packer.nvim's
config
field first as a function, then inside the config after directory.Actual behaviour
Which-key doesn't work when using packer's config field.
Expected behaviour
Which-key should work, or packer.nvim should document why the
config
field has a different behavior.packer files
Plugin specification file(s)
Post or link your plugin specification files here, if you aren't able to provide a minimal reproducerpacker log file
Post the contents of ~/.cache/nvim/packer.nvim.log herepacker compiled file
Post the contents of `packer_compiled.vim` here