aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/awk.vim
blob: 42b3e1db096cfd275d7b8cda1ac07cde629ae78e (plain)
1
2
3
4
5
6
7
8
9
10
11
" Extra configuration for AWK scripts
if &filetype != 'awk' || &compatible || v:version < 700
  finish
endif

" Set comment formats
setlocal comments=:#
setlocal formatoptions+=or
let b:undo_ftplugin = b:undo_ftplugin
      \ . '|setlocal comments<'
      \ . '|setlocal formatoptions<'