auto-save.nvim icon indicating copy to clipboard operation
auto-save.nvim copied to clipboard

[BUG] Invalid buffer ID when leaving `vim.ui.input`

Open midrare opened this issue 3 years ago • 6 comments

Symptoms: error message when exiting vim.ui.input prompt.

Steps to reproduce:

  1. Install auto-save.nvim
  2. Run :lua vim.ui.input({}, function() end)
  3. Observe error thrown

error

midrare avatar Aug 11 '22 03:08 midrare

Same bug!

XXiaoA avatar Aug 11 '22 07:08 XXiaoA

Symptoms: error message when exiting vim.ui.input prompt.

Steps to reproduce:

  1. Install auto-save.nvim
  2. Run :lua vim.ui.input({}, function() end)
  3. Observe error thrown

error

I have fixed it in my fork. Welcome to try my fork 😀

XXiaoA avatar Aug 11 '22 11:08 XXiaoA

@XXiaoA Thank you. Your fork resolved for me as well.

fraidev avatar Aug 12 '22 03:08 fraidev

@XXiaoA Tested and working fine. Time for a pull request?

midrare avatar Aug 12 '22 04:08 midrare

@XXiaoA Tested and working fine. Time for a pull request?

PR has been created. But i'm not sure the author will merge it or not. Because I formatted the file with my own .stylua.toml

XXiaoA avatar Aug 12 '22 04:08 XXiaoA

Is there any reason, why this annoying bug still not fixed?

Has someone found a solution for this using setup config? I constantly get this error when I create new files and folders in NvimTree and also when I rename variables using LSP.

fragov avatar Aug 28 '22 13:08 fragov

There are several PRs addressing this issue. Can we please merge one of them. It's just a click on merge...

primeapple avatar Sep 21 '22 05:09 primeapple

another bump for this to get merged

gegnew avatar Nov 01 '22 09:11 gegnew

Yes please, this is driving me nuts

dlip avatar Nov 01 '22 09:11 dlip