packer.nvim
packer.nvim copied to clipboard
Allow unsetting the "cmd" option
Describe the feature
It appears it's currently not possible to "unset" the cmd
option. This would be very useful when overwriting (for example) a baseline config. For a concrete example of this situation, see: NvChad/NvChad#1255
As is apparent from that thread, some unexpected behaviour can happen when attempting to manually "reset" this option.
Suggestion
allow to pass cmd = nil
to Packer in order to completely ignore the arg
@charludo no need to make an issue here, I provided the solution https://github.com/NvChad/NvChad/issues/1255#issuecomment-1314576934 so close the issue.
@charludo no need to make an issue here, I provided the solution NvChad/NvChad#1255 (comment) so close the issue.
Thanks again for the help over there!
I still think this would be a good idea though, since we shoudn't have to re-configure every set options in order to unset a single one. I'm leaving this open for now and let the maintainers decide.