summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Smith <kentsmith@gmail.com>2021-12-16 08:11:33 -0600
committerKent Smith <kentsmith@gmail.com>2021-12-16 08:11:58 -0600
commita022d89e9e1b2750aed35bf131dc395c2aeb9fb1 (patch)
tree224532e1f03e12ba098255fbc722e1b6a051a2c4
parentf16025deb83e162296aaba3447d74e58182f44a8 (diff)
downloadcfg-a022d89e9e1b2750aed35bf131dc395c2aeb9fb1.tar.gz
cfg-a022d89e9e1b2750aed35bf131dc395c2aeb9fb1.tar.bz2
what is even deoplete
-rw-r--r--.gitmodules3
m---------.vim/pack/git-plugins/start/deoplete.nvim0
-rw-r--r--.vimrc27
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
diff --git a/.vimrc b/.vimrc
index e6f81d8..3fd2ba5 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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"}}}