diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-04-25 08:58:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 08:58:58 +0200 |
commit | 2b9df3f79541507bfc3ba2645e6b9740e7c922ed (patch) | |
tree | 6112039092aabc134276fd5a8c121742be9ff069 /src/nvim/ops.c | |
parent | 30374db9554d871c217f41d00ce015b8e00b8680 (diff) | |
parent | 1294e221a205f1f3c6d2e31421b674db6e747406 (diff) | |
download | rneovim-2b9df3f79541507bfc3ba2645e6b9740e7c922ed.tar.gz rneovim-2b9df3f79541507bfc3ba2645e6b9740e7c922ed.tar.bz2 rneovim-2b9df3f79541507bfc3ba2645e6b9740e7c922ed.zip |
Merge pull request #28492 from bfredl/hotfix
fix(lua): vim.fn.has('nvim-0.10') in fast context, used by vim.deprecate
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index eba3e98357..b658584410 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -6395,7 +6395,7 @@ static yankreg_T *adjust_clipboard_name(int *name, bool quiet, bool writing) goto end; } - if (!eval_has_provider("clipboard")) { + if (!eval_has_provider("clipboard", false)) { if (batch_change_count <= 1 && !quiet && (!clipboard_didwarn || (explicit_cb_reg && !redirecting()))) { clipboard_didwarn = true; |