nvimtools / none-ls.nvim

null-ls.nvim reloaded / Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
The Unlicense
2.43k stars 72 forks source link

regression(test): diagnostics handler handler changedtick tracking should call handler only once if buffer changed in between callbacks #1

Open mochaaP opened 1 year ago

mochaaP commented 1 year ago
Fail    ||  diagnostics handler handler changedtick tracking should call handler only once if buffer changed in between callbacks   
            test/spec/diagnostics_spec.lua:126: Expected to be called 1 time(s), but was called 2 time(s)

            stack traceback:
                test/spec/diagnostics_spec.lua:126: in function <test/spec/diagnostics_spec.lua:116>

Minimal repro:

make test-file FILE=test/spec/diagnostics_spec.lua

Seems a plenary / nvim update broke the async generator

mochaaP commented 12 months ago

addressed by commit 16bdde6a30b9611711e131e593a8fd418c429b09 for now

mochaaP commented 12 months ago

seealso: https://github.com/neovim-stuff/null-ls.nvim/issues/3#issue-1898458338