feat: make visible borders optional

This commit is contained in:
raf 2023-07-23 18:26:38 +03:00
commit cf48beb8e6
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
5 changed files with 23 additions and 2 deletions

View file

@ -16,6 +16,11 @@ in {
vim.luaConfigRC.lspconfig = nvim.dag.entryAfter ["lsp-setup"] ''
local lspconfig = require('lspconfig')
${
# TODO: make border style configurable
optionalString (config.vim.ui.borders.enable) "require('lspconfig.ui.windows').default_options.border = 'single'"
}
'';
}
{