aboutsummaryrefslogtreecommitdiff
path: root/init.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2022-12-18 20:29:55 +0100
committerMax Christian Pohle2022-12-18 20:56:01 +0100
commit07797b39851da045aa1bfd0289de0858a1377c48 (patch)
tree4ca5d2b26d2ca9d01fc052fce5a26f88364a53d0 /init.vim
parent1086af63639d2a108f39ae077e0e201dddf4f523 (diff)
downloadvim-07797b39851da045aa1bfd0289de0858a1377c48.tar.bz2
vim-07797b39851da045aa1bfd0289de0858a1377c48.zip
Switched to nvim and neovide
Diffstat (limited to 'init.vim')
-rw-r--r--init.vim80
1 files changed, 0 insertions, 80 deletions
diff --git a/init.vim b/init.vim
deleted file mode 100644
index 40894af..0000000
--- a/init.vim
+++ /dev/null
@@ -1,80 +0,0 @@
1exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common'
2set packpath+=pack/neovim
3
4"=======================================================================================================================
5augroup DEOPLETE
6 inoremap <silent><expr> <C-Space> deoplete#mappings#manual_complete()
7
8 let g:deoplete#enable_at_startup = 1
9 let g:echodoc#enable_at_startup = 1
10 let g:LanguageClient_serverCommands = {
11 \ 'cpp': ['clangd'],
12 \ 'c': ['clangd']
13 \ }
14
15
16 let g:LanguageClient_diagnosticsDisplay = {
17 \ 1: {
18 \ "name": "Error",
19 \ "texthl": "ALEError",
20 \ "signText": "✖",
21 \ "signTexthl": "ALEErrorSign",
22 \ },
23 \ 2: {
24 \ "name": "Warning",
25 \ "texthl": "ALEWarning",
26 \ "signText": "⚠",
27 \ "signTexthl": "ALEWarningSign",
28 \ },
29 \ 3: {
30 \ "name": "Information",
31 \ "texthl": "ALEInfo",
32 \ "signText": '🛈',
33 \ "signTexthl": "ALEInfoSign",
34 \ },
35 \ 4: {
36 \ "name": "Hint",
37 \ "texthl": "ALEInfo",
38 \ "signText": "➤",
39 \ "signTexthl": "ALEInfoSign",
40 \ },
41 \ }
42
43 " packadd deoplete.nvim
44 " packadd LanguageClient-neovim
45 " packadd echodoc.vim
46
47 let g:deoplete#sources#clang#include_default_arguments=1
48 " suggestions in alphabetic order
49
50 function! ConfigureDeoplete()
51 call deoplete#custom#source('_', 'sorters', ['sorter_word'])
52 call deoplete#custom#filter('converter_reorder_attr',
53 \ 'attrs_order', {
54 \ '_': {
55 \ 'kind': [
56 \ 'Function',
57 \ 'Property'
58 \ ]
59 \ },
60 \})
61 endfunction
62 autocmd VimEnter * call ConfigureDeoplete()
63augroup END
64
65"=======================================================================================================================
66augroup ALE
67 let g:ale_set_highlights = 0
68
69 let g:ale_sign_error = ''
70 let g:ale_sign_style_error = ''
71 let g:ale_sign_info = '🛈'
72 let g:ale_sign_warning = ''
73
74 highlight link ALEErrorSign LineNr
75 highlight link ALEWarningSign LineNr
76
77 packadd ale
78augroup END
79
80
..