diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-18 17:31:08 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-18 17:31:08 +1300 |
commit | 5536bbccd0917e554c283b73b420c2905df28efe (patch) | |
tree | 0a8d2814c50ec7a68505c175d3fa93cc674fd1a0 /vim/macros/indent/spaces.vim | |
parent | Fix indentation of a Makefile line (diff) | |
download | dotfiles-5536bbccd0917e554c283b73b420c2905df28efe.tar.gz dotfiles-5536bbccd0917e554c283b73b420c2905df28efe.zip |
Refactor indent macros into autoload function
Much nicer.
Diffstat (limited to 'vim/macros/indent/spaces.vim')
-rw-r--r-- | vim/macros/indent/spaces.vim | 7 |
1 files changed, 0 insertions, 7 deletions
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 |