From ef130c4428b12785baeb399014aa79dd1cb4267b Mon Sep 17 00:00:00 2001 From: w0rp Date: Sun, 22 Apr 2018 22:00:25 +0100 Subject: #1428 Start implementing LSP hover support --- plugin/ale.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugin') diff --git a/plugin/ale.vim b/plugin/ale.vim index f51e175b..2a97e563 100644 --- a/plugin/ale.vim +++ b/plugin/ale.vim @@ -274,6 +274,9 @@ command! -bar ALEGoToDefinitionInTab :call ale#definition#GoTo({'open_in_tab': 1 " Find references for tsserver and LSP command! -bar ALEFindReferences :call ale#references#Find() +" Get information for the cursor. +command! -bar ALEHover :call ale#hover#Show() + " mappings for commands nnoremap (ale_previous) :ALEPrevious nnoremap (ale_previous_wrap) :ALEPreviousWrap @@ -295,6 +298,7 @@ nnoremap (ale_fix) :ALEFix nnoremap (ale_go_to_definition) :ALEGoToDefinition nnoremap (ale_go_to_definition_in_tab) :ALEGoToDefinitionInTab nnoremap (ale_find_references) :ALEFindReferences +nnoremap (ale_hover) :ALEHover " Set up autocmd groups now. call ale#toggle#InitAuGroups() -- cgit v1.2.3