mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-24 20:41:31 +01:00
vim: use popup for completion suggestions
This commit is contained in:
parent
3bab8cd959
commit
fe83822b56
|
@ -32,6 +32,11 @@ set hlsearch "highlight search results (using *)
|
||||||
|
|
||||||
set expandtab shiftwidth=4 tabstop=4 "always use spaces
|
set expandtab shiftwidth=4 tabstop=4 "always use spaces
|
||||||
|
|
||||||
|
" Completion menu config (see :h completopt)
|
||||||
|
set completeopt=menu,menuone,noselect,noinsert
|
||||||
|
" Show completion suggestions in popups instead of preview window
|
||||||
|
set completeopt+=popup
|
||||||
|
|
||||||
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
|
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||||
autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
|
autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||||
autocmd FileType go setlocal noexpandtab
|
autocmd FileType go setlocal noexpandtab
|
||||||
|
|
Loading…
Reference in New Issue
Block a user