sql is case insensitive
make sql hilighter case insensitive.
This commit is contained in:
parent
075d1048ab
commit
b2b7672eb3
|
@ -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
|
||||
"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user