fix(yanky-nvim): shada assertion condition

This commit is contained in:
Laszlo Bacsi 2025-06-14 11:37:51 +02:00
commit 5056e02f08
No known key found for this signature in database
GPG key ID: 7AC6E86EE9E48853

View file

@ -32,7 +32,7 @@ in {
assertions = [ assertions = [
{ {
assertion = usingShada && ((config.vim.options.shada or "") == ""); assertion = usingShada -> (config.vim.options.shada or "") != "";
message = '' message = ''
Yanky.nvim is configured to use 'shada' for the storage backend, but shada is disabled Yanky.nvim is configured to use 'shada' for the storage backend, but shada is disabled
in 'vim.options'. Please re-enable shada, or switch to a different backend. in 'vim.options'. Please re-enable shada, or switch to a different backend.