From 6c4baeebd88352399059a8df8d38ebe3511588ea Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 29 Sep 2025 13:29:56 -0400 Subject: Start code actions --- command.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'command.c') diff --git a/command.c b/command.c index 3b647f4..66ae4bb 100644 --- a/command.c +++ b/command.c @@ -111,6 +111,7 @@ static CommandName command_names[] = { {"indent-with-tabs", CMD_INDENT_WITH_TABS}, {"set-tab-width", CMD_SET_TAB_WIDTH}, {"debug-print-undo-history", CMD_DEBUG_PRINT_UNDO_HISTORY}, + {"code-action", CMD_CODE_ACTION}, }; static_assert_if_possible(arr_count(command_names) == CMD_COUNT) @@ -740,5 +741,8 @@ void command_execute_ex(Ted *ted, Command c, const CommandArgument *full_argumen case CMD_DEBUG_PRINT_UNDO_HISTORY: buffer_print_undo_history(buffer); break; + case CMD_CODE_ACTION: + code_action_start(ted); + break; } } -- cgit v1.2.3