summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorAlvin Chan <chaucerbao@users.noreply.github.com>2019-01-27 02:18:20 -0800
committerw0rp <w0rp@users.noreply.github.com>2019-01-27 10:18:20 +0000
commit6288c8b08e360c787e0b41daaf21e06d6da0512a (patch)
tree30b13dc5be1d9dec962b7eb368c7b845871f77d5 /plugin
parentb8bf7b220d0f7ab461ed830b125f9dbc42a7836a (diff)
downloadale-6288c8b08e360c787e0b41daaf21e06d6da0512a.zip
Use relative paths when previewing file locations (#2238)
* Use relative paths when previewing file locations Example: ALEFindReferences -relative
Diffstat (limited to 'plugin')
-rw-r--r--plugin/ale.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/ale.vim b/plugin/ale.vim
index 416324bc..1181fb21 100644
--- a/plugin/ale.vim
+++ b/plugin/ale.vim
@@ -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()