Merge remote-tracking branch 'johnisom/sql-highlighting' into master
This commit is contained in:
commit
2f8e8e542a
|
@ -100,7 +100,7 @@ evaluate-commands %sh{
|
||||||
|
|
||||||
# Highlight keywords
|
# Highlight keywords
|
||||||
printf %s "
|
printf %s "
|
||||||
add-highlighter shared/sql/code/ regex '(?i)\b(${functions})\(.*\)' 0:function
|
add-highlighter shared/sql/code/ regex '(?i)\b(${functions})\(.*?\)' 0:function
|
||||||
add-highlighter shared/sql/code/ regex '(?i)\b(${data_types_fn})\(.*?\)' 0:type
|
add-highlighter shared/sql/code/ regex '(?i)\b(${data_types_fn})\(.*?\)' 0:type
|
||||||
add-highlighter shared/sql/code/ regex '(?i)\b(${keywords})\b' 0:keyword
|
add-highlighter shared/sql/code/ regex '(?i)\b(${keywords})\b' 0:keyword
|
||||||
add-highlighter shared/sql/code/ regex '(?i)\b(${operators})\b' 0:operator
|
add-highlighter shared/sql/code/ regex '(?i)\b(${operators})\b' 0:operator
|
||||||
|
|
Loading…
Reference in New Issue
Block a user