From 41954eb9595cf4e7cf7e0bb00e7385c8b6df32a3 Mon Sep 17 00:00:00 2001 From: Thomas Faingnaert Date: Wed, 26 Jun 2019 00:51:50 +0200 Subject: [PATCH] Add documentation --- doc/vim-lsp.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/vim-lsp.txt b/doc/vim-lsp.txt index 6a5a09e2..487e3aa6 100644 --- a/doc/vim-lsp.txt +++ b/doc/vim-lsp.txt @@ -27,6 +27,7 @@ CONTENTS *vim-lsp-contents* g:lsp_highlight_references_enabled |g:lsp_highlight_references_enabled| g:lsp_get_vim_completion_item |g:lsp_get_vim_completion_item| g:lsp_get_supported_capabilities |g:lsp_get_supported_capabilities| + g:lsp_popup_highlight |g:lsp_popup_highlight| Functions |vim-lsp-functions| enable |vim-lsp-enable| disable |vim-lsp-disable| @@ -382,6 +383,19 @@ g:lsp_get_supported_capabilities *g:lsp_get_supported_capabilities* calling `lsp#omni#default_get_supported_capabilities` from within your function. +g:lsp_popup_highlight *g:lsp_popup_highlight* + Type: |String| + Default: `"Pmenu"` + + A |String| indicating the highlight group name to use in the vim-lsp popup + window. This sets the |'wincolor'| to the specified highlight group. + + Example: +> + highlight PopupWindow guibg=#fdf6e3 + let g:lsp_popup_highlight = "PopupWindow" +< + =============================================================================== FUNCTIONS *vim-lsp-functions* @@ -750,7 +764,7 @@ Closes an opened preview window Transfers focus to an opened preview window or back to the previous window if focus is already on the preview window. - + =============================================================================== Autocomplete *vim-lsp-autocomplete*