vimrc: add rust filetype parameters (opinionated)
This commit is contained in:
parent
063420cb1f
commit
60e8b840c4
@ -357,6 +357,9 @@ au BufNewFile,BufRead *.js
|
||||
au FileType sway setl textwidth=79
|
||||
\ tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab autoindent
|
||||
|
||||
au FileType rust setl
|
||||
\ tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab autoindent ff=unix
|
||||
|
||||
au BufNewFile,BufRead *.py,*.pyw,*.pyx,?akefil*
|
||||
\ setlocal tabstop=4 shiftwidth=4 noexpandtab autoindent
|
||||
\ fileformat=unix
|
||||
|
Loading…
Reference in New Issue
Block a user