sql is case insensitive

make sql hilighter case insensitive.
This commit is contained in:
Hao Deng 2018-07-30 14:49:21 -04:00 committed by GitHub
parent 075d1048ab
commit b2b7672eb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,11 +86,11 @@ evaluate-commands %sh{
# Highlight keywords
printf %s "
add-highlighter shared/sql/code/ regex '\b(${functions})\(.*\)' 0:function
add-highlighter shared/sql/code/ regex '\b(${data_types_fn})\(.*?\)' 0:type
add-highlighter shared/sql/code/ regex '\b(${keywords})\b' 0:keyword
add-highlighter shared/sql/code/ regex '\b(${operators})\b' 0:operator
add-highlighter shared/sql/code/ regex '\b(${data_types})\b' 0:type
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(${keywords})\b' 0:keyword
add-highlighter shared/sql/code/ regex '(?i)\b(${operators})\b' 0:operator
add-highlighter shared/sql/code/ regex '(?i)\b(${data_types})\b' 0:type
"
}