summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index ebaacbb..9ed1a47 100644
--- a/lsp.h
+++ b/lsp.h
@@ -579,9 +579,16 @@ typedef struct {
int type;
} LSPCommand;
+typedef enum {
+ LSP_CODE_ACTION_OTHER,
+ LSP_CODE_ACTION_QUICKFIX,
+} LSPCodeActionKind;
+
typedef struct {
LSPString name;
LSPWorkspaceEdit edit;
+ LSPCodeActionKind kind;
+ bool is_preferred;
LSPCommand command;
} LSPCodeAction;