aboutsummaryrefslogtreecommitdiff
path: root/lspc.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-04-12 11:10:17 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2024-04-12 11:10:17 +0200
commit05c733a806993b6cd3601587d4655811c1c771c0 (patch)
treea8922f9bfe2795fb783210d5bb2e0c86d0dc0244 /lspc.lua
parentefaf185f4368aeb04de0b851f76b5bad020804e7 (diff)
downloadvis-lspc-05c733a806993b6cd3601587d4655811c1c771c0.tar.gz
vis-lspc-05c733a806993b6cd3601587d4655811c1c771c0.zip
make the way messages are presented configurableshow-message
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.
Diffstat (limited to 'lspc.lua')
-rw-r--r--lspc.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lspc.lua b/lspc.lua
index 1af21a5..d45811b 100644
--- a/lspc.lua
+++ b/lspc.lua
@@ -50,6 +50,10 @@ local lspc = {
-- message level to show in the UI when receiving messages from the server
-- Error = 1, Warning = 2, Info = 3, Log = 4
message_level = 3,
+
+ -- How to present messages to the user.
+ -- 'message': use vis:message; 'open': use a new split window allowing for syntax highlighting
+ show_message = 'message',
}
--