Merge pull request #951 from lackac/fix/yanky-assertion

yanky-nvim: fix shada assertion condition
This commit is contained in:
raf 2025-06-14 13:11:44 +03:00 committed by GitHub
commit 77a32f0961
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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.