feat: per-plugin border styles

defaults to the value of globalStyle, can be overriden
This commit is contained in:
raf 2023-07-26 10:27:57 +03:00
commit cc1f1b2ed8
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
7 changed files with 59 additions and 11 deletions

View file

@ -19,7 +19,9 @@ in {
${
# TODO: make border style configurable
optionalString (config.vim.ui.borders.enable) "require('lspconfig.ui.windows').default_options.border = 'single'"
optionalString (config.vim.ui.borders.enable) ''
require('lspconfig.ui.windows').default_options.border = '${config.vim.ui.borders.globalStyle}'
''
}
'';
}