From d81e7683eacae1680da26b1e4bb20cd72391366c Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 11 Mar 2025 00:58:21 +0200 Subject: [PATCH] Use proper order of `Completion::Source` field to have sane default (#26416) Follow-up of https://github.com/zed-industries/zed/pull/26300 Release Notes: - N/A --- crates/proto/proto/zed.proto | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/proto/proto/zed.proto b/crates/proto/proto/zed.proto index 6cebbe0bb3619246a72e372c75c26124a33cdb2b..5cc19ca51eb32ed95c2a6764a18f131f4eeb25fa 100644 --- a/crates/proto/proto/zed.proto +++ b/crates/proto/proto/zed.proto @@ -1,6 +1,5 @@ syntax = "proto3"; package zed.messages; -import "google/protobuf/wrappers.proto"; // Looking for a number? Search "// current max" @@ -1003,8 +1002,8 @@ message Completion { optional bytes lsp_defaults = 8; enum Source { - Custom = 0; - Lsp = 1; + Lsp = 0; + Custom = 1; } }