aboutsummaryrefslogtreecommitdiff
path: root/bin/gwp.awk
Commit message (Expand)AuthorAgeFilesLines
* Strip trailing whitespaceTom Ryder2017-11-131-1/+1
* Lots of cleanup of awk scriptsTom Ryder2017-07-021-3/+8
* Exit 2 with usage errors from gwp(1df)Tom Ryder2017-05-241-1/+1
* Use more portable awk stderr writeTom Ryder2017-01-051-1/+1
* Stylistic tweaks to awk scriptsTom Ryder2016-12-111-3/+1
* Tweak FS for gwp(1df)Tom Ryder2016-12-051-2/+2
* Use explicit range for alphanumeric charactersTom Ryder2016-12-051-1/+1
* Remove shebang from source awk fileTom Ryder2016-12-051-1/+0
* Add gwp(1)Tom Ryder2016-12-041-0/+57
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

                                                                           
                             
                            
 

                                                                           
                                   
















                                            
" Remove special highlighting for double-quoted strings and colon labels in
" comments
syntax clear vimCommentString
syntax clear vimCommentTitle

" Highlight :CompilerSet commands like :set/:setlocal, but only in compiler
" scripts in recognisable paths
if expand('%:p:h:t') ==# 'compiler'
      \ && expand('%:e') ==# 'vim'
  syntax keyword vimCommand contained
        \ CompilerSet
  syntax region vimSet matchgroup=vimCommand
        \ start="\<CompilerSet\>"
        \ end="$" end="|" end="<[cC][rR]>"
        \ keepend
        \ matchgroup=vimNotation
        \ oneline
        \ skip="\%(\\\\\)*\\."
        \ contains=vimSetEqual
        \,vimOption
        \,vimErrSetting
        \,vimComment
        \,vimSetString
        \,vimSetMod
endif