From 2d461bc86125259e7a055ba38099b9239dab100a Mon Sep 17 00:00:00 2001 From: binaryDiv Date: Fri, 13 Dec 2019 13:53:21 +0100 Subject: [PATCH] .vimrc: filetype autodetect stuff --- .vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.vimrc b/.vimrc index 3502e27..1a91f7e 100644 --- a/.vimrc +++ b/.vimrc @@ -23,6 +23,9 @@ set shiftwidth=4 set tabstop=4 set softtabstop=4 +" Autodetect stuff like 'use tabs in Makefiles' +filetype plugin on + " Indentation for Python (use 4 spaces) "autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4 autocmd FileType yml,yaml setlocal ts=2 sts=2 sw=2 expandtab