diff options
author | Kent Smith <kentsmith@gmail.com> | 2021-12-16 08:11:33 -0600 |
---|---|---|
committer | Kent Smith <kentsmith@gmail.com> | 2021-12-16 08:11:58 -0600 |
commit | a022d89e9e1b2750aed35bf131dc395c2aeb9fb1 (patch) | |
tree | 224532e1f03e12ba098255fbc722e1b6a051a2c4 | |
parent | f16025deb83e162296aaba3447d74e58182f44a8 (diff) | |
download | cfg-a022d89e9e1b2750aed35bf131dc395c2aeb9fb1.tar.gz cfg-a022d89e9e1b2750aed35bf131dc395c2aeb9fb1.tar.bz2 |
what is even deoplete
-rw-r--r-- | .gitmodules | 3 | ||||
m--------- | .vim/pack/git-plugins/start/deoplete.nvim | 0 | ||||
-rw-r--r-- | .vimrc | 27 |
3 files changed, 13 insertions, 17 deletions
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 -Subproject 1c40f648d2b00e70beb4c473b7c0e32b633bd9a @@ -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"}}} |