summaryrefslogtreecommitdiff
path: root/src/main/cmds.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2024-01-29 23:34:07 +0100
committerAlbert Cervin <albert@acervin.com>2024-01-30 15:04:44 +0100
commitdda591fa33ac10c433289aa3ee862c3ded41eed3 (patch)
tree9a25edbc810fd5d8fbc20f367c71ebcd81bb6026 /src/main/cmds.c
parent880199011075afd4f2d9bd16c7ce42a04741b5b7 (diff)
downloaddged-dda591fa33ac10c433289aa3ee862c3ded41eed3.tar.gz
dged-dda591fa33ac10c433289aa3ee862c3ded41eed3.tar.xz
dged-dda591fa33ac10c433289aa3ee862c3ded41eed3.zip
Syntax highlight is a go
Diffstat (limited to 'src/main/cmds.c')
-rw-r--r--src/main/cmds.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/cmds.c b/src/main/cmds.c
index c137ed1..5a1d7b6 100644
--- a/src/main/cmds.c
+++ b/src/main/cmds.c
@@ -68,6 +68,7 @@ int32_t run_interactive(struct command_ctx ctx, int argc, const char *argv[]) {
}
int32_t do_switch_buffer(struct command_ctx ctx, int argc, const char *argv[]) {
+ disable_completion(minibuffer_buffer());
const char *bufname = argv[0];
if (argc == 0) {
// switch back to prev buffer