vimrc: filetype tweaks
This commit is contained in:
parent
6b2d2a9b10
commit
df51ecd43e
@ -985,11 +985,14 @@ augroup filetypes
|
|||||||
\ fileformat=unix expandtab
|
\ fileformat=unix expandtab
|
||||||
|
|
||||||
au FileType sway setl textwidth=99
|
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
|
au FileType rust setl
|
||||||
\ tabstop=8 shiftwidth=8 softtabstop=8 noexpandtab autoindent ff=unix
|
\ 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*
|
au BufNewFile,BufRead *.py,*.pyw,*.pyx,?akefil*
|
||||||
\ setlocal tabstop=4 shiftwidth=4 noexpandtab autoindent
|
\ setlocal tabstop=4 shiftwidth=4 noexpandtab autoindent
|
||||||
\ fileformat=unix
|
\ fileformat=unix
|
||||||
|
Loading…
Reference in New Issue
Block a user