mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-15 23:12:48 +01:00
plugins/conform-nvim: fix auto-install when settings.formatters is null
This commit is contained in:
parent
9e58db38c0
commit
85889f5676
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ rec {
|
|||
{ configuredFormatters, overrides }:
|
||||
name:
|
||||
let
|
||||
permittedNames = attrNames configuredFormatters;
|
||||
permittedNames = lib.optionals (lib.isAttrs configuredFormatters) (attrNames configuredFormatters);
|
||||
isSType = x: elem x sTypeList;
|
||||
notFoundMsg = ''
|
||||
A package for the conform-nvim formatter '${name}' could not be found.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue