From a022d89e9e1b2750aed35bf131dc395c2aeb9fb1 Mon Sep 17 00:00:00 2001 From: Kent Smith Date: Thu, 16 Dec 2021 08:11:33 -0600 Subject: what is even deoplete --- .gitmodules | 3 --- .vim/pack/git-plugins/start/deoplete.nvim | 1 - .vimrc | 27 +++++++++++++-------------- 3 files changed, 13 insertions(+), 18 deletions(-) delete mode 160000 .vim/pack/git-plugins/start/deoplete.nvim diff --git a/.gitmodules b/.gitmodules index 0a350c8..229351b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,9 +7,6 @@ [submodule ".vim/pack/git-plugins/start/base16-vim"] path = .vim/pack/git-plugins/start/base16-vim url = https://github.com/chriskempson/base16-vim -[submodule ".vim/pack/git-plugins/start/deoplete.nvim"] - path = .vim/pack/git-plugins/start/deoplete.nvim - url = https://github.com/Shougo/deoplete.nvim [submodule ".vim/pack/git-plugins/start/forth.vim"] path = .vim/pack/git-plugins/start/forth.vim url = https://github.com/vim-scripts/forth.vim diff --git a/.vim/pack/git-plugins/start/deoplete.nvim b/.vim/pack/git-plugins/start/deoplete.nvim deleted file mode 160000 index 1c40f64..0000000 --- a/.vim/pack/git-plugins/start/deoplete.nvim +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 1c40f648d2b00e70beb4c473b7c0e32b633bd9ae diff --git a/.vimrc b/.vimrc index e6f81d8..3fd2ba5 100644 --- a/.vimrc +++ b/.vimrc @@ -236,25 +236,24 @@ nmap bq :bp bd # 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 - \ pumvisible() ? "\" : - \ check_back_space() ? "\" : - \ deoplete#manual_complete() - function! s:check_back_space() abort "{{{ - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~ '\s' - endfunction"}}} -- cgit v1.2.3