vimrc: set options for ft=sway and tw=79 generally
This commit is contained in:
parent
ca7c0d8368
commit
31e3b051f2
11
.vim/vimrc
11
.vim/vimrc
@ -322,10 +322,15 @@ au FileType html setlocal shiftwidth=4 tabstop=4
|
||||
au BufNewFile,BufRead *.js
|
||||
\ setlocal shiftwidth=4 tabstop=4 softtabstop=4 expandtab autoindent fileformat=unix
|
||||
|
||||
au FileType c setl ofu=ccomplete#CompleteCpp
|
||||
au FileType sway setl textwidth=79
|
||||
\ tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab autoindent
|
||||
|
||||
au BufNewFile,BufRead *.py,*.pyw,*.pyx,?akefil*
|
||||
\ setlocal tabstop=4 shiftwidth=4 noexpandtab autoindent
|
||||
\ fileformat=unix
|
||||
|
||||
au FileType c setl ofu=ccomplete#CompleteCpp
|
||||
|
||||
" Linux kernel style tabs
|
||||
au BufNewFile,BufRead,BufEnter *.c,*.h,*.cpp
|
||||
\ setlocal tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab autoindent
|
||||
@ -337,11 +342,11 @@ au BufNewFile,BufRead,BufEnter *.tex
|
||||
|
||||
au BufNewFile,BufRead,BufEnter *.cs
|
||||
\ setlocal ft=cs tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent
|
||||
\ textwidth=80 fileformat=unix conceallevel=0
|
||||
\ textwidth=79 fileformat=unix conceallevel=0
|
||||
|
||||
au BufNewFile,BufRead *.cshtml
|
||||
\ setlocal ft=csh tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent
|
||||
\ textwidth=80 fileformat=unix conceallevel=0
|
||||
\ textwidth=79 fileformat=unix conceallevel=0
|
||||
|
||||
|
||||
augroup async_plug_load
|
||||
|
Loading…
Reference in New Issue
Block a user