~gpanders/dotfiles

b8446f85cda53569a7f8efdfd1b9d6848d32939b — Greg Anders a month ago 530ed42
[vim] Add vim-mucomplete plugin for autocompletion
A .vim/after/plugin/mucomplete.vim => .vim/after/plugin/mucomplete.vim +6 -0
@@ 0,0 1,6 @@
if !get(g:, 'loaded_mucomplete')
    finish
endif

set completeopt+=menuone,noselect
set shortmess+=c

M .vim/plugin/lsc.vim => .vim/plugin/lsc.vim +9 -1
@@ 1,6 1,14 @@
let g:lsc_auto_map = {'defaults': v:true, 'WorkspaceSymbol': '', 'FindCodeActions': 'gA', 'NextReference': ']r', 'PreviousReference': '[r'}
let g:lsc_auto_map = {
            \ 'defaults': v:true,
            \ 'WorkspaceSymbol': '',
            \ 'FindCodeActions': 'gA',
            \ 'NextReference': ']r',
            \ 'PreviousReference': '[r',
            \ }

let g:lsc_enable_diagnostics = v:false
let g:lsc_enable_popup_syntax = v:false
let g:lsc_enable_autocomplete = v:false

" Configure LSP servers
let g:lsc_server_commands = {

M .vim/plugin/minpac.vim => .vim/plugin/minpac.vim +3 -0
@@ 83,6 83,9 @@ function! s:PackInit() abort
    " Better writing mode
    call minpac#add('junegunn/goyo.vim')

    " Auto completion
    call minpac#add('lifepillar/vim-mucomplete')

    " REPL
    call minpac#add('urbainvaes/vim-ripple')


A .vim/plugin/mucomplete.vim => .vim/plugin/mucomplete.vim +6 -0
@@ 0,0 1,6 @@
let g:mucomplete#no_mappings = 1
let g:mucomplete#enable_auto_at_startup = 1
let g:mucomplete#tab_when_no_results = 1

let g:mucomplete#chains = {}
let g:mucomplete#chains.default = ['path', 'user', 'omni']