From 0e71c4a1e7aabcad269ffb1cdd3f53da6ef31df4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 12 Apr 2024 11:10:17 +0200 Subject: make the way messages are presented configurable The two options are either using vis:message (the default) which will keep all messages in the vis message buffer and include a header line to distinguish the different messages. The second option is using open and presenting messages in a separate window supporting syntax highlighting. --- README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 27905b3..9948af6 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,8 @@ Available options are: * `highlight_diagnostics = 'line'` - highlight the `range` or `line`number of available diagnostics * `workspace_edit_remember_cursor = true` - restore the primary cursor position after a workspaceEdit * `diagnostic_styles = { error = 'back:red', warning = 'back:yellow', information = 'back:yellow', hint = 'back:yellow', }` - styles used to highlight different diagnostics +* `show_message = 'message'` - how to present information. `'message'`: use `vis:message`; `'open'`: use a new window supporting syntax highlighting. +* `message_level = 3` - the level of shown messages retrieved via `window/showMessage` notifications #### Configure your own Language Server -- cgit v1.2.3