Skip to content
Discussion options

You must be logged in to vote

As long as the changes are small enough for git mv <old-file> <new-file> to work, git rm -f <old-file> + git add <new-file> should work too. So there should be no need to do that extra dance step.

To be honest, I had never previously heard of :ALEFileRename, which I see only works for tsserver.

A theoretical ALE improvement would be to make it possible to get the operation status and the new name back somehow, but it's not fully trivial and the command can't be made to return them since communication with the tsserver is asynchronous. If you see a way to do that, please suggest a patch. It would make sense to be able for users to have custom commands calling both ALEFileRename and say Gmove

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gcb
Comment options

Answer selected by gcb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants