diff options
author | pommicket <pommicket@gmail.com> | 2025-09-29 13:29:56 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-29 15:29:51 -0400 |
commit | 6c4baeebd88352399059a8df8d38ebe3511588ea (patch) | |
tree | 98db7bb4f36a47f8f9ac5a53dcb06e8cd19cf762 /command.c | |
parent | ec03a105ce7a6e396cfd287cbfe902d65bac1474 (diff) |
Start code actions
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; } } |