From df51ecd43e726c1b18d9a32902fd3ecbadb947e1 Mon Sep 17 00:00:00 2001 From: surtur Date: Tue, 26 Mar 2024 21:24:14 +0100 Subject: [PATCH] vimrc: filetype tweaks --- .vim/vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vim/vimrc b/.vim/vimrc index 6b35f50..b550f66 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -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