vim-lsp-settings
vim-lsp-settings copied to clipboard
Configuration to remove border from popup
I want to remove the border from the pop up for documentation. Is there any existing configurations which can modify this behavior?
@AdityaMayukhSom Unfortunately, there is no direct setting. You can remove the border of the signature only when it pops up as follows:
vim9script
def PopupOpened(): void
const popups = popup_list()
const options = popups[0]->popup_getoptions()
# hide signature help border
if !options->has_key('borderchars')
popups->popup_setoptions({
borderchars: [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' '],
})
endif
enddef
autocmd User lsp_float_opened call PopupOpened()