main: Fix function definition highlighting

Fixes #223 #237
This commit is contained in:
Matthew Martin 2018-10-21 14:47:51 -05:00
commit 64b13f5c5b
21 changed files with 661 additions and 23 deletions

View file

@ -31,11 +31,11 @@
BUFFER='f() pwd; f() { balanced braces }'
expected_region_highlight=(
'1 1 TBD "issue #223"' # f
'1 1 function-definition' # f
'2 3 reserved-word' # ()
'5 7 builtin' # pwd
'8 8 commandseparator' # ;
'10 10 TBD "issue #223"' # f
'10 10 function-definition' # f
'11 12 reserved-word' # ()
'14 14 reserved-word' # {
'16 23 unknown-token' # balanced