From 9b4a7446d3d5bfaa95b89d098667d0dd9441f6f1 Mon Sep 17 00:00:00 2001 From: "shane.xb.qian" Date: Mon, 14 Nov 2022 23:50:04 +0800 Subject: [PATCH] upd 'LspOptionsGet' doc --- doc/lsp.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/lsp.txt b/doc/lsp.txt index 80f1bb4..923edbb 100644 --- a/doc/lsp.txt +++ b/doc/lsp.txt @@ -282,6 +282,11 @@ diagnostic messages, you can add the following line to your .vimrc file: > call LspOptionsSet({'autoHighlightDiags': v:false}) < + +And to get or check one option value via its key you can query like following: +> + echo LspOptionsGet('autoHighlightDiags') +< ============================================================================== 5. Commands *lsp-commands* -- 2.48.1