From d2fba7af36c6ae76c954da76ed64e3383e0d64f9 Mon Sep 17 00:00:00 2001 From: pommicket Date: Tue, 30 Sep 2025 11:09:43 -0400 Subject: code_action_select_best --- lsp.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lsp.h') 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; -- cgit v1.2.3