summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/editor/vimrc
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-08 17:13:47 +0200
committerlassulus <lassulus@lassul.us>2019-04-08 17:13:47 +0200
commit8df36824c35e0573c966b355264816dbef63a05b (patch)
tree2e757d9146b1e22c5f3e1c8426bd2ad8fc099dfd /makefu/2configs/editor/vimrc
parent9e7729def580d83bc439985616f8c5d7162bcd48 (diff)
parent2f53271af0fda00bdc452c2bc5e569f064f562f6 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/editor/vimrc')
-rw-r--r--makefu/2configs/editor/vimrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefu/2configs/editor/vimrc b/makefu/2configs/editor/vimrc
index 8cdab55db..96c505ba8 100644
--- a/makefu/2configs/editor/vimrc
+++ b/makefu/2configs/editor/vimrc
@@ -96,3 +96,14 @@ augroup Binary
au BufWritePost *.bin if &bin | %!xxd
au BufWritePost *.bin set nomod | endif
augroup END
+
+let g:LanguageClient_serverCommands = {
+\ 'python': ['pyls']
+\ }
+nnoremap <F6> :call LanguageClient_contextMenu()<CR>
+nnoremap <silent> gh :call LanguageClient_textDocument_hover()<CR>
+nnoremap <silent> gd :call LanguageClient_textDocument_definition()<CR>
+nnoremap <silent> gr :call LanguageClient_textDocument_references()<CR>
+nnoremap <silent> gs :call LanguageClient_textDocument_documentSymbol()<CR>
+nnoremap <silent> <F2> :call LanguageClient_textDocument_rename()<CR>
+nnoremap <silent> gf :call LanguageClient_textDocument_formatting()<CR>