diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-17 15:59:39 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-17 15:59:39 +1200 |
commit | a9e59520d7efade3aeed9977cc64b32004af7dcb (patch) | |
tree | 60e323e2f45c2964966e366ea1ce47d38d945151 /vim/ftplugin/awk.vim | |
parent | Merge branch 'release/v1.32.0' (diff) | |
parent | Bump VERSION (diff) | |
download | dotfiles-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/awk.vim')
-rw-r--r-- | vim/ftplugin/awk.vim | 9 |
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<' |