-
Notifications
You must be signed in to change notification settings - Fork 2
/
.vimrc
59 lines (54 loc) · 1.17 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
set showcmd
set autoindent
set confirm
set number
set shiftwidth=2
set tabstop=4
set expandtab
let g:ale_fixers = {
\ 'python': [
\ 'autopep8',
\ ],
\ 'vim': [
\ 'vint',
\ ],
\ 'rust': [
\ 'rustc',
\ 'rls',
\ ],
\ 'c': [
\ 'gcc',
\ ],
\}
let g:ale_linters = {
\ 'java': [
\ 'eclipselsp',
\ ],
\ 'python': [
\ 'pylsp',
\ ],
\ 'rust': [
\ 'rls',
\ ],
\ 'c': [
\ 'ccls',
\ ],
\}
" Hard coding the java executable path because eclipselsp will fail to launch
" if your user profile is pointed to a java version other than 11.
let g:ale_java_eclipselsp_executable='/usr/lib64/openjdk-11/bin/java'
let g:ale_java_eclipselsp_path='$HOME/.local/src/eclipse.jdt.ls'
let g:ale_completion_enabled=1
let g:ale_completion_autoimport=1
let g:ale_hover_to_floating_preview=1
let g:deoplete#enable_at_startup = 1
set omnifunc=ale#completion#OmniFunc
let g:airline#extensions#tabline#enabled=1
" Load all plugins now.
" Plugins need to be added to runtimepath before helptags can be generated.
packloadall
syntax on
colorscheme dracula
" Load all of the helptags now, after plugins have been loaded.
" All messages and errors will be ignored.
silent! helptags ALL