vimrc: filetype tweaks

This commit is contained in:
surtur 2024-03-26 21:24:14 +01:00
parent 6b2d2a9b10
commit df51ecd43e
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

View File

@ -985,11 +985,14 @@ augroup filetypes
\ fileformat=unix expandtab
au FileType sway setl textwidth=99
\ tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent
\ tabstop=4 shiftwidth=4 softtabstop=4 noexpandtab autoindent ft=sway
au FileType rust setl
\ tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab autoindent ff=unix
au FileType nix setl
\ fileformat=unix autoindent omnifunc=lsp#complete
au BufNewFile,BufRead *.py,*.pyw,*.pyx,?akefil*
\ setlocal tabstop=4 shiftwidth=4 noexpandtab autoindent
\ fileformat=unix