diff options
| author | Hao Deng <860977+co-dh@users.noreply.github.com> | 2018-07-30 14:49:21 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-30 14:49:21 -0400 |
| commit | b2b7672eb3aa5b93af8335fc126fc981f53de3ef (patch) | |
| tree | 798d3144ac5acb452be89cafd8b44834e32ec23a | |
| parent | 075d1048ab8807ce5bd40fb3448e0ff0c8788b7d (diff) | |
sql is case insensitive
make sql hilighter case insensitive.
| -rw-r--r-- | rc/base/sql.kak | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/rc/base/sql.kak b/rc/base/sql.kak index cfe24c61..b5069225 100644 --- a/rc/base/sql.kak +++ b/rc/base/sql.kak @@ -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 " } |
