]> Sergey Matveev's repositories - vim-lsp.git/commitdiff
upd 'LspOptionsGet' doc
authorshane.xb.qian <shane.qian@foxmail.com>
Mon, 14 Nov 2022 15:50:04 +0000 (23:50 +0800)
committershane.xb.qian <shane.qian@foxmail.com>
Tue, 15 Nov 2022 05:58:50 +0000 (13:58 +0800)
doc/lsp.txt

index 80f1bb4eb6648117f4ef0c26d2e85df3eafa7676..923edbbae37e1d4402c6fa753125e49c8fa6849f 100644 (file)
@@ -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*