diff options
| author | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-02-24 10:45:27 +0900 |
|---|---|---|
| committer | Hirokazu Hata <h.hata.ai.t@gmail.com> | 2020-02-24 11:22:34 +0900 |
| commit | 0852678e3cf1111df83d20a24545414fa0af8f63 (patch) | |
| tree | 8eb199f0787e0f599e4c9948b45719b14df6755f /scripts | |
| parent | [docgen] Update README.md (diff) | |
| download | nvim-lspconfig-0852678e3cf1111df83d20a24545414fa0af8f63.tar nvim-lspconfig-0852678e3cf1111df83d20a24545414fa0af8f63.tar.gz nvim-lspconfig-0852678e3cf1111df83d20a24545414fa0af8f63.tar.bz2 nvim-lspconfig-0852678e3cf1111df83d20a24545414fa0af8f63.tar.lz nvim-lspconfig-0852678e3cf1111df83d20a24545414fa0af8f63.tar.xz nvim-lspconfig-0852678e3cf1111df83d20a24545414fa0af8f63.tar.zst nvim-lspconfig-0852678e3cf1111df83d20a24545414fa0af8f63.zip | |
window/showMessage: the display level can be set for 'window/showMessage' notification
related with #127
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/README_template.md | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scripts/README_template.md b/scripts/README_template.md index 98c9aa4e..4d925d94 100644 --- a/scripts/README_template.md +++ b/scripts/README_template.md @@ -76,6 +76,7 @@ local nvim_lsp = require'nvim_lsp' nvim_lsp.texlab.setup{ name = 'texlab_fancy'; log_level = vim.lsp.protocol.MessageType.Log; + message_level = vim.lsp.protocol.MessageType.Log; settings = { latex = { build = { @@ -106,7 +107,6 @@ if not nvim_lsp.foo_lsp then root_dir = function(fname) return nvim_lsp.util.find_git_ancestor(fname) or vim.loop.os_homedir() end; - log_level = vim.lsp.protocol.MessageType.Warning; settings = {}; }; } @@ -168,8 +168,12 @@ nvim_lsp.SERVER.setup{config} Server may specify a default value. {log_level} - controls the level of logs to show from build processes and other - window/logMessage events. Defaults to + controls the level of logs to show from window/logMessage notifications. Defaults to + vim.lsp.protocol.MessageType.Warning instead of + vim.lsp.protocol.MessageType.Log. + + {message_level} + controls the level of messages to show from window/showMessage notifications. Defaults to vim.lsp.protocol.MessageType.Warning instead of vim.lsp.protocol.MessageType.Log. |
