This repository has been archived by the owner on Nov 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 123
William Boman edited this page Jun 5, 2022
·
5 revisions
To make the :LspInstallInfo
window behave like a normal window instead of a self-closing floating window, you can include the following snippet in your personal configuration:
function! s:deregister_autocmd() abort
" Disables the self-closing behavior of the window
autocmd TextChanged <buffer> ++once autocmd! LspInstallerWindow
endfunction
" For a right-aligned window
autocmd FileType lsp-installer wincmd L | call s:deregister_autocmd()
" For a left-aligned window
" autocmd FileType lsp-installer wincmd H | call s:deregister_autocmd()
Provide the border style you'd like during setup:
require("nvim-lsp-installer").setup {
ui = {
-- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
border = "rounded"
}
}