aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormryouse2022-07-12 22:27:37 +0000
committermryouse2022-07-12 22:27:37 +0000
commite8577528a1df781c7a4f858d422820a3987e3e7e (patch)
tree993cc5918fe741fda7217fc0da658df956f87709
parent4d6a16e5a3059d2fd17b64e19538f1463e40b0cb (diff)
bugfix: completion should ignore parens
-rw-r--r--neb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/neb.py b/neb.py
index 4d7ddec..4967737 100644
--- a/neb.py
+++ b/neb.py
@@ -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()