practicalli / astro

Rich development workflow with Clojure support, using AstroNvim 4 and selected plugins
https://practical.li/neovim
4 stars 9 forks source link

[lsp] rename namespace - client does not support file renames #1

Open practicalli-johnny opened 6 months ago

practicalli-johnny commented 6 months ago

Renaming of an ns namespace doest not seem to be supported

Renaming a namespace or a filename does not allow LSP to update related occurrances.

Investigate if this is a limitation with the Neovim client, lsp related plugins or configuration.

Error on prepareRename: Can't rename - client does not support file renames.

The Neovim Error suggests that Neovim client does not support prepareRename, even with https://github.com/antosha417/nvim-lsp-file-operations plugin

LSP spec https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareRename

NOTE: I dont think renaming a namespace has worked since I've been using Neovim