From 07797b39851da045aa1bfd0289de0858a1377c48 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Sun, 18 Dec 2022 20:29:55 +0100 Subject: Switched to nvim and neovide --- init.vim | 80 ---------------------------------------------------------------- 1 file changed, 80 deletions(-) delete mode 100644 init.vim (limited to 'init.vim') diff --git a/init.vim b/init.vim deleted file mode 100644 index 40894af..0000000 --- a/init.vim +++ /dev/null @@ -1,80 +0,0 @@ -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 - - -- cgit v1.2.3