diff --git a/.config/vim/vim_plug b/.config/vim/vim_plug index ff04b69..a01e979 100644 --- a/.config/vim/vim_plug +++ b/.config/vim/vim_plug @@ -315,6 +315,7 @@ let g:ale_linters = { lua <"] = cmp.mapping(function(fallback) if cmp.visible() then cmp.select_next_item() - elseif has_words_before() then - cmp.complete() + -- elseif has_words_before() then + -- cmp.complete() else fallback() -- The fallback function sends a already mapped key. In this case, it's probably ``. end diff --git a/.config/vim/vim_uni b/.config/vim/vim_uni index c978cb5..73fa91c 100644 --- a/.config/vim/vim_uni +++ b/.config/vim/vim_uni @@ -95,7 +95,8 @@ autocmd BufEnter *.c set ai sw=4 ts=4 sta noet fo=croql autocmd BufEnter *.md set ai sw=3 ts=3 sta et fo=croql autocmd Filetype html* set ai sw=4 ts=4 sta et fo=croql autocmd Filetype *css set ai sw=4 ts=4 sta et fo=croql -autocmd Filetype javascript set ai sw=4 ts=4 sta et fo=croql +autocmd Filetype javascript* set ai sw=4 ts=4 sta et fo=croql +autocmd Filetype json set ai sw=4 ts=4 sta et fo=croql autocmd Filetype vue set ai sw=4 ts=4 sta et fo=croql autocmd Filetype php set ai sw=4 ts=4 sta et fo=croql