File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
plugins/by-name/conform-nvim
tests/test-sources/plugins/by-name/conform-nvim Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
4949 ] ;
5050
5151 extraOptions = {
52- autoInstallFormatters = {
52+ autoInstall = {
5353 enable = lib . mkEnableOption ''
5454 Whether to automatically install formatters listed in `formatters_by_ft`.
5555 '' ;
@@ -266,11 +266,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
266266 inherit ( import ./auto-install.nix { inherit pkgs lib ; } ) getPkgFromConformName collectFormatters ;
267267 getPkgFromConformName' = getPkgFromConformName {
268268 customFormatters = mapAttrs ( _ : _ : null ) cfg . settings . formatters ;
269- inherit ( cfg . autoInstallFormatters ) overrides ;
269+ inherit ( cfg . autoInstall ) overrides ;
270270 } ;
271271 names = collectFormatters ( attrValues cfg . settings . formatters_by_ft ) ;
272272 in
273273 {
274- extraPackages = lib . optionals cfg . autoInstallFormatters . enable ( map getPkgFromConformName' names ) ;
274+ extraPackages = lib . optionals cfg . autoInstall . enable ( map getPkgFromConformName' names ) ;
275275 } ;
276276}
Original file line number Diff line number Diff line change 1111 {
1212 plugins . conform-nvim = {
1313 enable = true ;
14- autoInstallFormatters . enable = true ;
14+ autoInstall . enable = true ;
1515 settings . formatters_by_ft . "*" = allFormatters ;
1616 } ;
1717 } ;
You can’t perform that action at this time.
0 commit comments