summaryrefslogtreecommitdiff
path: root/command.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-22 12:36:50 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-22 12:36:50 -0500
commit1631f38d4dba64577c8f064225599273148ad83d (patch)
tree740747615e12e0d45681875cdb2e2d4f9f681e77 /command.h
parent37ce64c167e12c0d652442b2ff3deb9327d1317d (diff)
go to definition menu
Diffstat (limited to 'command.h')
-rw-r--r--command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.h b/command.h
index 61fd04b..8f61424 100644
--- a/command.h
+++ b/command.h
@@ -68,6 +68,8 @@ ENUM_U16 {
CMD_BUILD,
CMD_BUILD_PREV_ERROR,
CMD_BUILD_NEXT_ERROR,
+
+ CMD_OPEN_DEFINITION_MENU, // "go to definition of..."
CMD_ESCAPE, // by default this is the escape key. closes menus, etc.
@@ -135,6 +137,7 @@ static CommandName const command_names[CMD_COUNT] = {
{"build", CMD_BUILD},
{"build-prev-error", CMD_BUILD_PREV_ERROR},
{"build-next-error", CMD_BUILD_NEXT_ERROR},
+ {"open-definition-menu", CMD_OPEN_DEFINITION_MENU},
{"escape", CMD_ESCAPE},
};