This is an automated email from the ASF dual-hosted git repository. paulk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 9273a73d169edfde1cd5981c7a249ba83064dd97 Author: Paul King <pa...@asert.com.au> AuthorDate: Wed Jul 30 08:45:27 2025 +1000 GROOVY-8162: Update Groovysh to JLine3 (recognise ginq operators only at start of line for now) --- subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc b/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc index 46ef1a9685..f6d2bffe0f 100644 --- a/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc +++ b/subprojects/groovy-groovysh/src/main/resources/nanorc/groovy.nanorc @@ -25,9 +25,9 @@ CLASS: "\<[A-Z]{0,2}([A-Z]{1}[a-z0-9]+){1,}\>" # Annotation VARIABLE: "@[A-Za-z]+" -FUNCTION: "\<(assert|print|println|sleep|from|where|select|as|in)\>" -FUNCTION: "\<(join|innerjoin|leftjoin|rightjoin|fulljoin|crossjoin|groupby|orderby|limit)\>" -FUNCTION: "\<(innerhashjoin|lefthashjoin|righthashjoin|fullhashjoin|exists|having|distinct)\>" +FUNCTION: "\<(assert|print|println|sleep|as|in)\>" +FUNCTION: "^\s*\<(from|where|select|join|innerjoin|leftjoin|rightjoin|fulljoin|crossjoin|groupby|orderby|limit)\>" +FUNCTION: "^\s*\<(innerhashjoin|lefthashjoin|righthashjoin|fullhashjoin|exists|having|distinct)\>" FUNCTION: "\<(over|partitionby|rows|range|asc|desc|nullsfirst|nullslast)\>" JUMP: "\<(break|continue)\>" NULL: "\<(null)\>"