Skip to content

Instantly share code, notes, and snippets.

@jsburklund
Created September 4, 2018 15:03
Show Gist options
  • Save jsburklund/f2186b210546723bd216c9fae21f22f4 to your computer and use it in GitHub Desktop.
Save jsburklund/f2186b210546723bd216c9fae21f22f4 to your computer and use it in GitHub Desktop.
Adds syntax highlighting for arithmetic operators
" Update Syntax for SQL
au BufRead,BufNewFile *.sql syn match sqlConditional "=\|<\|>\|+\|-\|(\|)"
au BufRead,BufNewFile *.sql syn match sqlComment "--.*$" contains=sqlTodo,@Spell
au BufRead,BufNewFile *.sql hi link sqlConditional Conditional
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment