diff options
| author | mryouse | 2022-07-12 22:27:37 +0000 |
|---|---|---|
| committer | mryouse | 2022-07-12 22:27:37 +0000 |
| commit | e8577528a1df781c7a4f858d422820a3987e3e7e (patch) | |
| tree | 993cc5918fe741fda7217fc0da658df956f87709 | |
| parent | 4d6a16e5a3059d2fd17b64e19538f1463e40b0cb (diff) | |
bugfix: completion should ignore parens
| -rw-r--r-- | neb.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,7 +48,7 @@ def repl(): readline.parse_and_bind("tab: complete") cmp = NebCompleter(env.environment.keys()) readline.set_completer(cmp.complete) - readline.set_completer_delims(" ") + readline.set_completer_delims(" ()") print("### neb :)(:") print("version: < 0") @@ -85,7 +85,7 @@ def run_file(filename): readline.parse_and_bind("tab: complete") cmp = NebCompleter(env.environment.keys()) readline.set_completer(cmp.complete) - readline.set_completer_delims(" ") + readline.set_completer_delims(" ()") with open(filename, "r") as fil: data = fil.read() |
