-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_vimrc
54 lines (45 loc) · 1.34 KB
/
dot_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
set nocompatible
set tabstop=4
set expandtab
set autoindent
syntax on
filetype plugin indent on
execute pathogen#infect()
" Syntastic recommendations
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" Shellcheck args
let g:syntastic_sh_shellcheck_args = "-x"
" Terraform entries
let g:terraform_align=1
let g:syntastic_terraform_tffilter_plan = 1
let g:terraform_completion_keys = 1
" Vim-plug
call plug#begin('~/.vim/plugged')
Plug 'hashivim/vim-terraform'
Plug 'juliosueiras/vim-terraform-completion'
Plug 'vim-syntastic/syntastic'
Plug 'prabirshrestha/vim-lsp'
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'bash install.sh',
\ }
" (Optional) Multi-entry selection UI.
Plug 'junegunn/fzf'
call plug#end()
" Language server support
let g:LanguageClient_serverCommands = {
\ 'rust': ['~/.cargo/bin/rustup', 'run', 'stable', 'rls'],
\ 'javascript': ['/usr/local/bin/javascript-typescript-stdio'],
\ 'javascript.jsx': ['tcp://127.0.0.1:2089'],
\ 'python': ['/usr/local/bin/pyls'],
\ 'terraform': ['/home/bkero/.bin/terraform-lsp'],
\ 'ruby': ['~/.rbenv/shims/solargraph', 'stdio'],
\ }
set tabstop=4
set expandtab