diff --git a/.vim/vimrc b/.vim/vimrc index 2c72724..3bf5522 100644 --- a/.vim/vimrc +++ b/.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