diff options
Diffstat (limited to 'plugin/ale.vim')
-rw-r--r-- | plugin/ale.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim index d19824b1..423a743a 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -270,6 +270,9 @@ command! -bar ALEImport :call ale#completion#Import() " Rename symbols using tsserver and LSP command! -bar -bang ALERename :call ale#rename#Execute() +" Rename file using tsserver +command! -bar -bang ALEFileRename :call ale#filerename#Execute() + " Apply code actions to a range. command! -bar -range ALECodeAction :call ale#codefix#Execute(<range>) @@ -316,6 +319,7 @@ nnoremap <silent> <Plug>(ale_documentation) :ALEDocumentation<Return> inoremap <silent> <Plug>(ale_complete) <C-\><C-O>:ALEComplete<Return> nnoremap <silent> <Plug>(ale_import) :ALEImport<Return> nnoremap <silent> <Plug>(ale_rename) :ALERename<Return> +nnoremap <silent> <Plug>(ale_filerename) :ALEFileRename<Return> nnoremap <silent> <Plug>(ale_code_action) :ALECodeAction<Return> nnoremap <silent> <Plug>(ale_repeat_selection) :ALERepeatSelection<Return> |