diff options
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 27 |
1 files changed, 13 insertions, 14 deletions
@@ -236,25 +236,24 @@ nmap <leader>bq :bp <BAR> bd #<CR> colorscheme base16-tomorrow-night +" ALE +let g:ale_fixers = { +\ '*': ['remove_trailing_lines', 'trim_whitespace'], +\ 'javascript': ['eslint'], +\ 'ruby': ['rubocop'], +\} let g:ale_set_balloons=1 +" Set the executable for ALE to call to get Solargraph +" up and running in a given session +let g:ale_ruby_solargraph_executable = 'solargraph' +let g:ale_ruby_solargraph_options = {} + +let g:ale_completion_enabled = 1 + " Load all plugins now. " Plugins need to be added to runtimepath before helptags can be generated. packloadall " Load all of the helptags now, after plugins have been loaded. " All messages and errors will be ignored. silent! helptags ALL - -" ale + deoplete -call deoplete#enable() -call deoplete#custom#option('sources', { -\ '_': ['ale'], -\}) -inoremap <silent><expr> <TAB> - \ pumvisible() ? "\<C-n>" : - \ <SID>check_back_space() ? "\<TAB>" : - \ deoplete#manual_complete() - function! s:check_back_space() abort "{{{ - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~ '\s' - endfunction"}}} |