filipdutescu / renamer.nvim

VS Code-like renaming UI for Neovim, writen in Lua.
Apache License 2.0
302 stars 11 forks source link

Working LSP, but still get "No LSP client found for the current file" #132

Open joshuarubin opened 1 year ago

joshuarubin commented 1 year ago

This is caused by using the # operator which expects a 1 based sequence which is not always the case even if there are values in vim.lsp.buf_get_clients(0). You'll have to count another way.

https://github.com/filipdutescu/renamer.nvim/blob/1614d466df53899f11dd5395eaac3c09a275c384/lua/renamer/utils.lua#L86

imroc commented 1 year ago

Same error:

image

LspInfo:

image
kjellherzke commented 1 year ago

Still same error here.