aboutsummaryrefslogtreecommitdiff
path: root/vim/after/indent/awk.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-10 14:18:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-10 14:18:40 +1300
commit41670e5d907b0ac8bc136b89ab6bd8c7df3f07c6 (patch)
tree6133dde7c59e22a5f592e3f646bd4d175b9b1b83 /vim/after/indent/awk.vim
parentMerge branch 'release/v8.1.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-8.2.0.tar.gz (sig)
dotfiles-8.2.0.zip
Merge branch 'release/v8.2.0'v8.2.0
* release/v8.2.0: Add more space-preferred filetypes
Diffstat (limited to 'vim/after/indent/awk.vim')
-rw-r--r--vim/after/indent/awk.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/after/indent/awk.vim b/vim/after/indent/awk.vim
new file mode 100644
index 00000000..ba6dfdeb
--- /dev/null
+++ b/vim/after/indent/awk.vim
@@ -0,0 +1,8 @@
+" Use four spaces for indentation
+setlocal expandtab
+setlocal shiftwidth=4
+let b:undo_ftplugin .= '|setlocal expandtab< shiftwidth<'
+if &l:softtabstop != -1
+ let &l:softtabstop = &l:shiftwidth
+ let b:undo_ftplugin .= '|setlocal softtabstop<'
+endif