X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=vim%2F.vim%2Fplugin%2Flsp.vim;h=93b49b21496ddb48cfca0307854582c4e9b8ed7b;hb=89cc304dc0947bb344e3f7d1a27e0027b9b444e3;hp=621548b542491a19c5fe41be7b5dcf0879840375;hpb=abeca38b2bf8282f0ad673286bc51fbaf59d27f2;p=dotfiles.git diff --git a/vim/.vim/plugin/lsp.vim b/vim/.vim/plugin/lsp.vim index 621548b..93b49b2 100644 --- a/vim/.vim/plugin/lsp.vim +++ b/vim/.vim/plugin/lsp.vim @@ -1,12 +1,9 @@ -let g:asyncomplete_auto_completeopt = 0 -let g:asyncomplete_auto_popup = 0 -imap (asyncomplete_force_refresh) - let g:lsp_highlight_references_enabled = 1 let g:lsp_diagnostics_echo_cursor = 1 let g:lsp_diagnostics_echo_delay = -1 function! s:on_lsp_buffer_enabled() abort + setlocal omnifunc=lsp#complete nmap [g (lsp-previous-diagnostic) nmap ]g (lsp-next-diagnostic) nmap gd (lsp-definition)