From 5c22ddc2223ded1ee2fbc1c3518d4150471780a6 Mon Sep 17 00:00:00 2001 From: Kebin Liu <1335935+lkebin@users.noreply.github.com> Date: Sun, 2 Jun 2024 10:34:02 +0800 Subject: [PATCH] Add document for server_info.env --- doc/vim-lsp.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/vim-lsp.txt b/doc/vim-lsp.txt index f47f6ac4c..14096e46b 100644 --- a/doc/vim-lsp.txt +++ b/doc/vim-lsp.txt @@ -1402,6 +1402,13 @@ The vim |dict| containing information about the server. Example: > 'config': { 'diagnostics': v:false } < + * env: + optional vim |dict| + Used to pass environment variables to the cmd. + Example: > + 'env': { 'GOFLAGS': '-tags=wireinject' } +< + refresh_pattern *vim-lsp-refresh_pattern* Type: |String| (|pattern|) Default: `'\k*$'`