hedyhli / outline.nvim

Code outline sidebar powered by LSP. Significantly enhanced & refactored fork of symbols-outline.nvim.
https://sr.ht/~hedy/outline.nvim
MIT License
543 stars 15 forks source link

Rename symbol does not work for functions with awk-language-server as provider #54

Open LeonardoMor opened 5 months ago

LeonardoMor commented 5 months ago

I wanted to rename a function but it didn't work, I told me there was nothing to rename. But I have a keybinding that uses vim.lsp.buf_request with the "textDocument/rename" capability to rename symbols. As you can see that works.

asciicast

That capability is used on your fallback legacy_rename.

Now the awk-language-server has 'renameProvider' so it might be a bug on their side. But I don't know how to isolate it.

LeonardoMor commented 4 months ago

So is this a provider problem? Just curious.