vim: Add TOML config

This commit is contained in:
2021-11-18 12:10:46 +01:00
parent 1ae605a52a
commit 1c6fe13112

View File

@@ -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