simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.17k stars 158 forks source link

fix: nil check for runnable and debuggable handler methods closes #217 #219

Closed ChristianChiarulli closed 2 years ago

ChristianChiarulli commented 2 years ago

When I have another lang server active that doesn't register any runnables/debuggables the result comes back nil, this nil value is then passed along to a function that tries to loop over the nil value.

simrat39 commented 2 years ago

Thanks for the PR, I'll merge to a refactor I'm working which will be merged soon hopefully