From 6a0de68c4c4d460d08d92bbd8a701d2c940bcc7b Mon Sep 17 00:00:00 2001 From: Keith Hall Date: Tue, 31 Oct 2023 23:16:13 +0200 Subject: [PATCH] [SQL] small tweak to keep using base syntax as much as possible --- SQL/TSQL.sublime-syntax | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/SQL/TSQL.sublime-syntax b/SQL/TSQL.sublime-syntax index 2a6e470ff7..d9a8addc92 100644 --- a/SQL/TSQL.sublime-syntax +++ b/SQL/TSQL.sublime-syntax @@ -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