tpope / vim-dadbod

dadbod.vim: Modern database interface for Vim
https://www.vim.org/scripts/script.php?script_id=5665
3.75k stars 132 forks source link

Provide arguments to bufnr in 'db#cancel' for older vim versions #115

Closed stesavo closed 2 years ago

stesavo commented 2 years ago

I ran into an issue related to Issue 93 that was fixed in 1.4 . I'm running neovim 0.3.4 and would get errors caused by missing parameters to bufnr() in db#cancel. Providing an empty string as parameter to bufnr() there as well fixes the issue for me.