diff options
Diffstat (limited to 'init.vim')
-rw-r--r-- | init.vim | 43 |
1 files changed, 36 insertions, 7 deletions
@@ -1,4 +1,4 @@ | |||
1 | exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' | 1 | exec ':source '.fnamemodify($MYVIMRC,':h').'/'.'vimrc-common' |
2 | 2 | ||
3 | set packpath+=pack/neovim | 3 | set packpath+=pack/neovim |
4 | 4 | ||
@@ -13,6 +13,34 @@ augroup DEOPLETE | |||
13 | \ 'c': ['clangd'] | 13 | \ 'c': ['clangd'] |
14 | \ } | 14 | \ } |
15 | 15 | ||
16 | |||
17 | let g:LanguageClient_diagnosticsDisplay = { | ||
18 | \ 1: { | ||
19 | \ "name": "Error", | ||
20 | \ "texthl": "ALEError", | ||
21 | \ "signText": "✖", | ||
22 | \ "signTexthl": "ALEErrorSign", | ||
23 | \ }, | ||
24 | \ 2: { | ||
25 | \ "name": "Warning", | ||
26 | \ "texthl": "ALEWarning", | ||
27 | \ "signText": "⚠", | ||
28 | \ "signTexthl": "ALEWarningSign", | ||
29 | \ }, | ||
30 | \ 3: { | ||
31 | \ "name": "Information", | ||
32 | \ "texthl": "ALEInfo", | ||
33 | \ "signText": '🛈', | ||
34 | \ "signTexthl": "ALEInfoSign", | ||
35 | \ }, | ||
36 | \ 4: { | ||
37 | \ "name": "Hint", | ||
38 | \ "texthl": "ALEInfo", | ||
39 | \ "signText": "➤", | ||
40 | \ "signTexthl": "ALEInfoSign", | ||
41 | \ }, | ||
42 | \ } | ||
43 | |||
16 | packadd deoplete.nvim | 44 | packadd deoplete.nvim |
17 | packadd LanguageClient-neovim | 45 | packadd LanguageClient-neovim |
18 | packadd echodoc.vim | 46 | packadd echodoc.vim |
@@ -20,14 +48,15 @@ augroup END | |||
20 | 48 | ||
21 | "======================================================================================================================= | 49 | "======================================================================================================================= |
22 | augroup ALE | 50 | augroup ALE |
23 | let g:ale_set_highlights = 0 | 51 | let g:ale_set_highlights = 0 |
24 | 52 | ||
25 | let g:ale_sign_error = '' | 53 | let g:ale_sign_error = '' |
26 | let g:ale_sign_style_error = '' | 54 | let g:ale_sign_style_error = '' |
27 | let g:ale_sign_info = '' | 55 | let g:ale_sign_info = '🛈' |
28 | let g:ale_sign_warning = '' | 56 | let g:ale_sign_warning = '' |
29 | 57 | ||
30 | highlight! link ALEWarningSign FoldColumn | 58 | highlight link ALEErrorSign LineNr |
59 | highlight link ALEWarningSign LineNr | ||
31 | 60 | ||
32 | packadd ale | 61 | packadd ale |
33 | augroup END | 62 | augroup END |