diff --git a/vim/vimrc b/vim/vimrc index b95adec..60a0fa8 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -71,6 +71,8 @@ Plug 'evanleck/vim-svelte', {'branch': 'main'} Plug 'evanleck/vim-svelte', {'branch': 'main'} +Plug 'cespare/vim-toml', { 'branch': 'main' } + call plug#end() filetype plugin indent on @@ -318,6 +320,7 @@ endfunction autocmd BufWritePre * :call DeleteTrailingWS() autocmd FileType yaml set shiftwidth=2 +autocmd FileType toml set shiftwidth=2 set completeopt-=preview let g:ycm_add_preview_to_completeopt = 0