" fix some issue with vim-clang-format not finding .clang-format
let g:clang_format#detect_style_file = 1
Plug 'vimwiki/vimwiki', { 'branch': 'dev' }
-Plug 'scrooloose/syntastic'
+" Plug 'scrooloose/syntastic'
Plug 'sgeb/vim-diff-fold'
Plug 'shougo/unite.vim'
Plug 'shougo/vimproc.vim', {'do': 'make'}
Plug 'tpope/vim-surround' "investigate vim-sandwich
Plug 'tpope/vim-unimpaired'
Plug 'tweekmonster/spellrotate.vim'
-Plug 'valloric/youcompleteme', { 'do': './install.py --clang-completer' }
+" Plug 'valloric/youcompleteme', { 'do': './install.py --clang-completer' }
Plug 'vim-scripts/mediawiki.vim'
Plug 'vim-scripts/replacewithregister'
Plug 'vim-scripts/yankring.vim'
" staging
" Check LucHermites plugins: https://github.com/LucHermitte/lh-cpp
-
+Plug 'dense-analysis/ale' " {{{2
+let g:ale_c_build_dir_names = [ 'build-Linux-x86_64' ]
+let g:ale_echo_msg_format = '[%linter%] %code: %%s'
+let g:ale_c_parse_compile_commands = 1
+let g:ale_cpp_parse_compile_commands = 1
+let g:ale_cpp_gcc_options = ''
+let g:ale_cpp_clang_options = ''
+
+Plug 'shougo/deoplete.nvim' " {{{2
+Plug 'roxma/nvim-yarp'
+Plug 'roxma/vim-hug-neovim-rpc'
+let g:deoplete#enable_at_startup = 1
+
+"}}}2
call plug#end()
+call deoplete#custom#option('sources', {
+ \ '_': ['ale'],
+ \})
+call deoplete#custom#source('ale', 'matchers', ['matchers_full_fuzzy'])
+
filetype plugin indent on
" colorscheme {{{1