From a8f72de3a5d34de04b39e082a348f337d34521c6 Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Tue, 23 Jan 2018 16:07:00 +0800 Subject: [PATCH] (maint) Add client message constants This commit adds the client message type constants as they were missing. --- lib/languageserver/constants.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/languageserver/constants.rb b/lib/languageserver/constants.rb index 453efce2..fa77275c 100644 --- a/lib/languageserver/constants.rb +++ b/lib/languageserver/constants.rb @@ -49,4 +49,9 @@ module LanguageServer DIAGNOSTICSEVERITY_WARNING = 2 DIAGNOSTICSEVERITY_INFORMATION = 3 DIAGNOSTICSEVERITY_HINT = 4 + + MESSAGE_TYPE_ERROR = 1 + MESSAGE_TYPE_WARNING = 2 + MESSAGE_TYPE_INFO = 3 + MESSAGE_TYPE_LOG = 2 end