diff options
author | w0rp <devw0rp@gmail.com> | 2018-04-22 22:00:25 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2018-04-22 22:00:25 +0100 |
commit | ef130c4428b12785baeb399014aa79dd1cb4267b (patch) | |
tree | 3f7dc015ee1c0380740be91fb7ecc93b8f867224 /plugin | |
parent | 0b3ee11546952f11bcfa56ea58b28d99f19ab3a3 (diff) | |
download | ale-ef130c4428b12785baeb399014aa79dd1cb4267b.zip |
#1428 Start implementing LSP hover support
Diffstat (limited to 'plugin')
-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 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() + " <Plug> mappings for commands nnoremap <silent> <Plug>(ale_previous) :ALEPrevious<Return> nnoremap <silent> <Plug>(ale_previous_wrap) :ALEPreviousWrap<Return> @@ -295,6 +298,7 @@ nnoremap <silent> <Plug>(ale_fix) :ALEFix<Return> nnoremap <silent> <Plug>(ale_go_to_definition) :ALEGoToDefinition<Return> nnoremap <silent> <Plug>(ale_go_to_definition_in_tab) :ALEGoToDefinitionInTab<Return> nnoremap <silent> <Plug>(ale_find_references) :ALEFindReferences<Return> +nnoremap <silent> <Plug>(ale_hover) :ALEHover<Return> " Set up autocmd groups now. call ale#toggle#InitAuGroups() |