Closed Zeioth closed 8 months ago
@Zeioth Thanks for a speedy test! Please re-update:
cd ~/.local/share/nvim/lazy/lsp-timeout.nvim
git pull origin -f latest main
Ok now it works as usual. But with the next bugs:
The new option filetypes
is not actually ignoring the language. It stop LSP even if the language is on the list.
filetypes = {
ignore = { 'markdown', 'java' }
},
This has been tested with markdown and java.
On lua, it stop all except lua_ls
for some reason
(pre-stop)
(post-stop)
This has been tested with lua.
@Zeioth Add lua
files to the config first. ¯_(ツ)_/¯. Please, close if fixed.
filetypes = {
- ignore = { 'markdown', 'java' }
+ ignore = { 'markdown', 'java', 'lua' }
},
No, doesn't fix it. Answer not related with my report. You can't reproduce?
@Zeioth Add
lua
files to the config first. ¯(ツ)/¯. Please, close if fixed.filetypes = { - ignore = { 'markdown', 'java' } + ignore = { 'markdown', 'java', 'lua' } },
@Zeioth If I add lua
to ignored list - lsp-timeout
ignores user events in buffers with specified filetype. It will NOT try to start/stop any LSP clients or anything. It works for me at in both tsx
and lua
files.
Upd: I've upgraded nvim to
NVIM v0.10.0-dev-8405649f92
Build type: MinSizeRel
LuaJIT 2.1.0-beta3
Have no issues.
After reinstalling the plugin, all works fine with my previous config. Thank you so much. Closing.
I've read TROUBLESHOOTING instructions
Summary
There seem to be a bug when the current neovim screen loses focus.![screenshot_2023-10-29_20-35-20_742103937](https://github.com/hinell/lsp-timeout.nvim/assets/3357792/c11e06a5-5c5e-4427-bc07-9d1f58486feb)
Config
More info
I've tested with a few languages with the same result.
Steps to reproduce
(it seems to be unrelated with the new option filetypes.)
Versions
NVIM v0.10.0-dev-1418+g15983cf2c6 Build type: RelWithDebInfo LuaJIT 2.1.1697887905 Run "nvim -V1 -v" for more info
Specify operating system/environment
Archlinux