diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-08-12 06:56:22 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-08-12 06:56:22 -0700 |
commit | 658f7fe362dbce165e150482eda1cbd54ef66f40 (patch) | |
tree | db15fb41ff8a90ccf0e5c58749be0c14cee577b9 | |
parent | 3f915ef138f8d408a37c368810fc77883e666496 (diff) | |
download | txr-658f7fe362dbce165e150482eda1cbd54ef66f40.tar.gz txr-658f7fe362dbce165e150482eda1cbd54ef66f40.tar.bz2 txr-658f7fe362dbce165e150482eda1cbd54ef66f40.zip |
listener: fix completion regression.
This problem was was introduced in TXR 239 in commit
1f54ad5cc1d384d0818a6bf6cec20a95ecc5a5ae. The completion for
package-qualified symbols and keywords is wonky.
* parser.c (find_matching_syms): The first argument to scat is
the separator, so we must specify it as nil.
-rw-r--r-- | parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -970,7 +970,7 @@ static void find_matching_syms(lino_completions_t *cpl, continue; if (qualify) - comple = scat(line_prefix, pkg_name, lit(":"), name, nao); + comple = scat(nil, line_prefix, pkg_name, lit(":"), name, nao); else comple = scat2(line_prefix, name); |