aboutsummaryrefslogtreecommitdiff
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
parentMerge branch 'release/v8.1.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-41670e5d907b0ac8bc136b89ab6bd8c7df3f07c6.tar.gz
dotfiles-41670e5d907b0ac8bc136b89ab6bd8c7df3f07c6.zip
Merge branch 'release/v8.2.0'v8.2.0
* release/v8.2.0: Add more space-preferred filetypes
-rw-r--r--VERSION4
-rw-r--r--vim/after/indent/awk.vim8
-rw-r--r--vim/after/indent/css.vim8
-rw-r--r--vim/after/indent/javascript.vim8
4 files changed, 26 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 8b0ee955..8c58c115 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v8.1.0
-Tue, 10 Dec 2019 00:34:53 +0000
+tejr dotfiles v8.2.0
+Tue, 10 Dec 2019 01:18:39 +0000
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
diff --git a/vim/after/indent/css.vim b/vim/after/indent/css.vim
new file mode 100644
index 00000000..ba6dfdeb
--- /dev/null
+++ b/vim/after/indent/css.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
diff --git a/vim/after/indent/javascript.vim b/vim/after/indent/javascript.vim
new file mode 100644
index 00000000..ba6dfdeb
--- /dev/null
+++ b/vim/after/indent/javascript.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