aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-17 15:59:39 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-17 15:59:39 +1200
commita9e59520d7efade3aeed9977cc64b32004af7dcb (patch)
tree60e323e2f45c2964966e366ea1ce47d38d945151 /vim/ftplugin
parent4826ac2858d02df0ebd5f4e25abb4b18805cbfcc (diff)
parentd24d4d32fb384c5a35dfa0f01c8da2d156386c98 (diff)
downloaddotfiles-1.33.0.tar.gz (sig)
dotfiles-1.33.0.zip
Merge branch 'release/v1.33.0'v1.33.0
* release/v1.33.0: Bump VERSION Add handling for older sh.vim syntax g:is_posix Add my own ftplugin for awk Don't quote first and last lines of range if blank
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/awk.vim9
1 files changed, 9 insertions, 0 deletions
diff --git a/vim/ftplugin/awk.vim b/vim/ftplugin/awk.vim
new file mode 100644
index 00000000..350bc976
--- /dev/null
+++ b/vim/ftplugin/awk.vim
@@ -0,0 +1,9 @@
+" Only do this when not yet done for this buffer
+if exists('b:did_ftplugin')
+ finish
+endif
+
+" Set comment formats
+setlocal comments=:#
+setlocal formatoptions+=or
+let b:undo_ftplugin = 'setlocal comments< formatoptions<'