Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageType: add None to MessageType and rename MessageType to Severity #148

Closed
wants to merge 1 commit into from

Conversation

h-michael
Copy link
Contributor

Add None because the user has no way to hide logMessage and showMessage.
ref: #127

Add None because the user has no way to hide logMessage and showMessage.
ref: neovim#127
@@ -7,6 +7,8 @@ local fn = vim.fn

local M = {}

M.Severity = vim.tbl_extend("keep", lsp.protocol.MessageType, { None = 0 })
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not in favor of this. Adding new types that have nearly the same semantics as other types is a cognitive burden.

@justinmk
Copy link
Member

justinmk commented Aug 30, 2020

Add None because the user has no way to hide logMessage and showMessage.

hmm. In Vim itself, there's no way to hide :echo messages either, at least not for normal editor usage. Is this really important?

I think we should skip this, see #127 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants