summaryrefslogtreecommitdiff
path: root/command.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-13 14:37:24 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-13 14:37:24 -0400
commit77cfc38b57626e2c5a0b3549407c13acecb62d20 (patch)
tree2dd9bf9761ee6b2478ab39503995b35b72683f4e /command.c
parent69789c042460e012ec3054cc2e6ceeff25e394b9 (diff)
improve tag generation (don't just look at files in the cwd)
Diffstat (limited to 'command.c')
-rw-r--r--command.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/command.c b/command.c
index 29c76a8..7f54a68 100644
--- a/command.c
+++ b/command.c
@@ -363,7 +363,10 @@ void command_execute(Ted *ted, Command c, i64 argument) {
menu_open(ted, MENU_SHELL);
}
} break;
-
+ case CMD_GENERATE_TAGS:
+ tags_generate(ted);
+ break;
+
case CMD_GOTO_DEFINITION:
menu_open(ted, MENU_GOTO_DEFINITION);
break;