Skip to content

Commit 45d5bff

Browse files
add docs for g:lsp_log_file (#565)
* add docs for g:lsp_log_file * reword
1 parent cb38912 commit 45d5bff

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/vim-lsp.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ CONTENTS *vim-lsp-contents*
3636
g:lsp_fold_enabled |g:lsp_fold_enabled|
3737
g:lsp_hover_conceal |g:lsp_hover_conceal|
3838
g:lsp_ignorecase |g:lsp_ignorecase|
39+
g:lsp_log_file |g:lsp_log_file|
3940
Functions |vim-lsp-functions|
4041
enable |vim-lsp-enable|
4142
disable |vim-lsp-disable|
@@ -527,6 +528,18 @@ g:lsp_ignorecase *g:lsp_ignorecase*
527528
items. See |vim-lsp-completion-filter|. By default, the value of
528529
|'ignorecase'| is used.
529530

531+
g:lsp_log_file *g:lsp_log_file*
532+
Type: |String|
533+
Default: `''`
534+
535+
Determines whether or not logging should be written to a file.
536+
To disable log use empty string.
537+
538+
Example:
539+
>
540+
let g:lsp_log_file = ''
541+
let g:lsp_log_file = expand('~/vim-lsp.log')
542+
530543
===============================================================================
531544
FUNCTIONS *vim-lsp-functions*
532545

0 commit comments

Comments
 (0)