-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathplugins.vim
46 lines (33 loc) · 1.09 KB
/
plugins.vim
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
" Ragtag setup
let g:ragtag_global_maps = 1
" Delete fugitive buffers when it is hidded
autocmd BufReadPost fugitive://* set bufhidden=delete
" Fzf configuration
set wildignore+=*/.hg/*,*/.svn/*,*.so,*/b/*
" gist
let g:gist_detect_filetype = 1
let g:gist_open_browser_after_post = 1
" vim-ruby
" let ruby_operators = 1 " this option is bugged
let ruby_space_errors = 1
" let ruby_fold = 1 " this option make everything slow
" Neomake
call neomake#configure#automake('w')
let g:neomake_ruby_enabled_makers = ['mri', 'rubocop', 'reek']
let rubocop_exepath = getcwd() . '/bin/rubocop'
if filereadable(rubocop_exepath)
let g:neomake_ruby_rubocop_exe = rubocop_exepath
endif
let rubocop_config = getcwd() . '.rubocop.yml'
if filereadable(rubocop_config)
let g:neomake_ruby_rubocop_args = ['--format', 'emacs', '--force-exclusion', '--display-cop-names', '--config', rubocop_config]
endif
" ack
let g:ackprg = "rg --vimgrep"
" tags
let g:vim_tags_use_vim_dispatch = 1
let g:vim_tags_auto_generate = 0
" Snippets
let g:tm_rails_template_end_ruby_inline = ' -%>'
"airline
let g:airline_highlighting_cache = 1