From b2b7672eb3aa5b93af8335fc126fc981f53de3ef Mon Sep 17 00:00:00 2001 From: Hao Deng <860977+co-dh@users.noreply.github.com> Date: Mon, 30 Jul 2018 14:49:21 -0400 Subject: [PATCH] sql is case insensitive make sql hilighter case insensitive. --- rc/base/sql.kak | 10 +++++----- 1 file 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 " }