mirror of
				https://github.com/amix/vimrc
				synced 2025-10-31 06:33:35 +08:00 
			
		
		
		
	Updated plugins
This commit is contained in:
		| @ -188,7 +188,9 @@ command! -bar ALEFixSuggest :call ale#fix#registry#Suggest(&filetype) | ||||
|  | ||||
| " Go to definition for tsserver and LSP | ||||
| command! -bar ALEGoToDefinition :call ale#definition#GoTo({}) | ||||
| command! -bar ALEGoToDefinitionInTab :call ale#definition#GoTo({'open_in_tab': 1}) | ||||
| command! -bar ALEGoToDefinitionInTab :call ale#definition#GoTo({'open_in': 'tab'}) | ||||
| command! -bar ALEGoToDefinitionInSplit :call ale#definition#GoTo({'open_in': 'horizontal-split'}) | ||||
| command! -bar ALEGoToDefinitionInVSplit :call ale#definition#GoTo({'open_in': 'vertical-split'}) | ||||
|  | ||||
| " Find references for tsserver and LSP | ||||
| command! -bar ALEFindReferences :call ale#references#Find() | ||||
| @ -202,6 +204,8 @@ command! -bar ALEDocumentation :call ale#hover#ShowDocumentationAtCursor() | ||||
| " Search for appearances of a symbol, such as a type name or function name. | ||||
| command! -nargs=1 ALESymbolSearch :call ale#symbol#Search(<q-args>) | ||||
|  | ||||
| command! -bar ALEComplete :call ale#completion#AlwaysGetCompletions() | ||||
|  | ||||
| " <Plug> mappings for commands | ||||
| nnoremap <silent> <Plug>(ale_previous) :ALEPrevious<Return> | ||||
| nnoremap <silent> <Plug>(ale_previous_wrap) :ALEPreviousWrap<Return> | ||||
| @ -222,9 +226,12 @@ nnoremap <silent> <Plug>(ale_detail) :ALEDetail<Return> | ||||
| 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_go_to_definition_in_split) :ALEGoToDefinitionInSplit<Return> | ||||
| nnoremap <silent> <Plug>(ale_go_to_definition_in_vsplit) :ALEGoToDefinitionInVSplit<Return> | ||||
| nnoremap <silent> <Plug>(ale_find_references) :ALEFindReferences<Return> | ||||
| nnoremap <silent> <Plug>(ale_hover) :ALEHover<Return> | ||||
| nnoremap <silent> <Plug>(ale_documentation) :ALEDocumentation<Return> | ||||
| inoremap <silent> <Plug>(ale_complete) <C-\><C-O>:ALEComplete<Return> | ||||
|  | ||||
| " Set up autocmd groups now. | ||||
| call ale#events#Init() | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Amir Salihefendic
					Amir Salihefendic