Skip to content

Commit

Permalink
(maint) Add client message constants
Browse files Browse the repository at this point in the history
This commit adds the client message type constants as they were missing.
  • Loading branch information
glennsarti committed Jan 23, 2018
1 parent bee03c1 commit a8f72de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/languageserver/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a8f72de

Please sign in to comment.