dense-analysis / ale

Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
BSD 2-Clause "Simplified" License
13.57k stars 1.44k forks source link

:ALRename doesn't include $ characters in input #4691

Open w0rp opened 11 months ago

w0rp commented 11 months ago

When you use :ALERename the name put in the input box for renaming doesn't scan $ characters in variable names in JavaScript and TypeScript code. We should try to implement a separate cword function that does include these characters. We should bear in mind that names may need to be handled differently for languages like PHP.