chore(vimrc): add autocmd setting for bibtex files

This commit is contained in:
surtur 2021-05-20 20:35:13 +02:00
parent ee281479af
commit 973342d547
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -349,6 +349,10 @@ au BufNewFile,BufRead,BufEnter *.tex
\ setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab autoindent \ setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab autoindent
\ textwidth=79 fileformat=unix conceallevel=0 \ textwidth=79 fileformat=unix conceallevel=0
au BufNewFile,BufRead,BufEnter *.bib
\ setlocal ft=bib tabstop=2 shiftwidth=2 softtabstop=2 noexpandtab autoindent
\ fileformat=unix conceallevel=0
au BufNewFile,BufRead,BufEnter *.cs au BufNewFile,BufRead,BufEnter *.cs
\ setlocal ft=cs tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent \ setlocal ft=cs tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent
\ textwidth=79 fileformat=unix conceallevel=0 \ textwidth=79 fileformat=unix conceallevel=0