From 5536bbccd0917e554c283b73b420c2905df28efe Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 18 Dec 2019 17:31:08 +1300 Subject: Refactor indent macros into autoload function Much nicer. --- vim/macros/indent/spaces.vim | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 vim/macros/indent/spaces.vim (limited to 'vim/macros/indent/spaces.vim') diff --git a/vim/macros/indent/spaces.vim b/vim/macros/indent/spaces.vim deleted file mode 100644 index d4b36afe..00000000 --- a/vim/macros/indent/spaces.vim +++ /dev/null @@ -1,7 +0,0 @@ -" Use spaces for current buffer's indentation (set 'shiftwidth' first) -setlocal expandtab -let b:undo_ftplugin .= '|setlocal expandtab< shiftwidth<' -if &l:softtabstop != -1 - let &l:softtabstop = &l:shiftwidth - let b:undo_ftplugin .= '|setlocal softtabstop<' -endif -- cgit v1.2.3