By refactor do you mean rename across the project, or extracting a chunk of code out into a function/method?
Rename across the project is introduced by lsps.
As for renaming, I don't use it particularly often, but it's documented in microsoft's code action documentation[0] to include: Extract method, Extract function, Extract variable, Extract interface from class (some of those might be language/server dependent).
The neovim framework[1] at least does provide a wrapper for the code action.
VSCode gets most of its capabilities outside text editing from language servers. So the rule of thumb is that if VSCode has it, vim/neovim/emacs usually have it these days.
[0] https://microsoft.github.io/language-server-protocol/specifi...