if empty(globpath(&rtp, 'autoload/lsp.vim')) finish endif let g:lsp_diagnostics_enabled = 1 let g:lsp_diagnostics_float_cursor = 1 let g:lsp_signs_error = {'text': '✗'} let g:lsp_signs_warning = {'text': '🐍'} let g:lsp_signs_hint = {'text': '🦉'} " icons require GUI let g:lsp_signs_enabled = 1 " enable signs let g:lsp_diagnostics_echo_cursor = 1 " enable echo under cursor when in normal mode " let g:lsp_ultisnips_integration = 1 " for debug " let g:lsp_log_verbose = 1 " let g:lsp_log_file = expand('~/vim-lsp.log') " let g:asyncomplete_log_file = expand('~/asyncomplete.log') let g:lsp_settings = { \ 'efm-langserver': { \ 'disabled': 0, \ } \} autocmd! CompleteDone * if pumvisible() == 0 | pclose | endif nmap gd (lsp-definition) nmap gD (lsp-references) nmap K (lsp-hover) nmap ]s (lsp-next-error) nmap [s (lsp-previous-error)