Use relative paths when previewing file locations (#2238)

* Use relative paths when previewing file locations

Example: ALEFindReferences -relative
This commit is contained in:
Alvin Chan
2019-01-27 02:18:20 -08:00
committed by w0rp
parent b8bf7b220d
commit 6288c8b08e
4 changed files with 59 additions and 16 deletions

View File

@@ -202,7 +202,7 @@ command! -bar ALEGoToTypeDefinitionInSplit :call ale#definition#GoToType({'open_
command! -bar ALEGoToTypeDefinitionInVSplit :call ale#definition#GoToType({'open_in': 'vertical-split'})
" Find references for tsserver and LSP
command! -bar ALEFindReferences :call ale#references#Find()
command! -bar -nargs=* ALEFindReferences :call ale#references#Find(<f-args>)
" Show summary information for the cursor.
command! -bar ALEHover :call ale#hover#ShowAtCursor()