Skip to content

Commit

Permalink
[SQL] small tweak to keep using base syntax as much as possible
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-hall committed Oct 31, 2023
1 parent 24583c3 commit 6a0de68
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions SQL/TSQL.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -868,14 +868,10 @@ contexts:
- match: (?=\b(?i:unpivot|pivot)\b)
pop: 1

expect-table-alias-name:
- meta_include_prototype: false
- include: comments
- match: (?=\S)
set:
- maybe-table-sample
- table-alias-name
- single-identifier
table-alias-name:
- meta_prepend: true
- match: ''
set: maybe-table-sample

maybe-table-sample:
- include: table-hints-without-with
Expand Down

0 comments on commit 6a0de68

Please sign in to comment.