helpers.defaultNullOpts: add mkBorder

This commit is contained in:
Wolbyte 2023-06-26 14:39:06 +03:30 committed by Gaétan Lepage
parent be6a29c800
commit 600cd12057
10 changed files with 29 additions and 36 deletions

View file

@ -23,10 +23,8 @@ in {
description = "Plugin to use for null-ls";
};
border = helpers.defaultNullOpts.mkStr "null" ''
Defines the border to use for the `:NullLsInfo` UI window.
border = helpers.defaultNullOpts.mkBorder "null" "`:NullLsInfo` UI window." ''
Uses `NullLsInfoBorder` highlight group (see [Highlight Groups](#highlight-groups)).
Accepts same border values as `nvim_open_win()`. See `:help nvim_open_win()` for more info.
'';
cmd = helpers.defaultNullOpts.mkNullable (types.listOf types.str) ''["nvim"]'' ''