aboutsummaryrefslogtreecommitdiff
path: root/vim/macros/indent/spaces.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-18 17:31:08 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-18 17:31:08 +1300
commit5536bbccd0917e554c283b73b420c2905df28efe (patch)
tree0a8d2814c50ec7a68505c175d3fa93cc674fd1a0 /vim/macros/indent/spaces.vim
parentFix indentation of a Makefile line (diff)
downloaddotfiles-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.vim7
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