mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 09:04:54 +02:00
helpers.defaultNullOpts: add mkBorder
This commit is contained in:
parent
be6a29c800
commit
600cd12057
10 changed files with 29 additions and 36 deletions
|
@ -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"]'' ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue