exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' set packpath+=pack/neovim "======================================================================================================================= augroup DEOPLETE inoremap deoplete#mappings#manual_complete() let g:deoplete#enable_at_startup = 1 let g:echodoc#enable_at_startup = 1 let g:LanguageClient_serverCommands = { \ 'cpp': ['clangd'], \ 'c': ['clangd'] \ } let g:LanguageClient_diagnosticsDisplay = { \ 1: { \ "name": "Error", \ "texthl": "ALEError", \ "signText": "✖", \ "signTexthl": "ALEErrorSign", \ }, \ 2: { \ "name": "Warning", \ "texthl": "ALEWarning", \ "signText": "⚠", \ "signTexthl": "ALEWarningSign", \ }, \ 3: { \ "name": "Information", \ "texthl": "ALEInfo", \ "signText": '🛈', \ "signTexthl": "ALEInfoSign", \ }, \ 4: { \ "name": "Hint", \ "texthl": "ALEInfo", \ "signText": "➤", \ "signTexthl": "ALEInfoSign", \ }, \ } " packadd deoplete.nvim " packadd LanguageClient-neovim " packadd echodoc.vim let g:deoplete#sources#clang#include_default_arguments=1 " suggestions in alphabetic order function! ConfigureDeoplete() call deoplete#custom#source('_', 'sorters', ['sorter_word']) call deoplete#custom#filter('converter_reorder_attr', \ 'attrs_order', { \ '_': { \ 'kind': [ \ 'Function', \ 'Property' \ ] \ }, \}) endfunction autocmd VimEnter * call ConfigureDeoplete() augroup END "======================================================================================================================= augroup ALE let g:ale_set_highlights = 0 let g:ale_sign_error = '' let g:ale_sign_style_error = '' let g:ale_sign_info = '🛈' let g:ale_sign_warning = '' highlight link ALEErrorSign LineNr highlight link ALEWarningSign LineNr packadd ale augroup END