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 | ed8f2f6ae9d968f6e503e29d1e32be6a2067d388 (patch) | |
tree | db15fb41ff8a90ccf0e5c58749be0c14cee577b9 | |
parent | bd81647ad32c9efd824808c07b5aaf38189871fb (diff) | |
download | txr-ed8f2f6ae9d968f6e503e29d1e32be6a2067d388.tar.gz txr-ed8f2f6ae9d968f6e503e29d1e32be6a2067d388.tar.bz2 txr-ed8f2f6ae9d968f6e503e29d1e32be6a2067d388.zip |
listener: fix completion regression.
This problem was was introduced in TXR 239 in commit
47fde52282f9b35acb76d73bf9b6bf1cdb5aec8f. 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); |