Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample: List after in has no indentation #283

Open
ParetoOptimalDev opened this issue Feb 4, 2022 · 0 comments
Open

sample: List after in has no indentation #283

ParetoOptimalDev opened this issue Feb 4, 2022 · 0 comments
Labels
formatting Issue with the output format needs triage

Comments

@ParetoOptimalDev
Copy link

Input

{ pkgs ? import <nixpkgs> { overlays = [
    (import (builtins.fetchGit {
      url = "https://github.com/nix-community/emacs-overlay.git";
      ref = "master";
      rev = "37b7e04514d9f867d5a16b66ed112be6b674ddcb";
    }))
  ];
 }
}:
let
  myEmacs = pkgs.emacsGcc;
  emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages;
in emacsWithPackages (epkgs:
                                              [ epkgs.melpaPackages.haskell-mode ])

Output

{ pkgs ? import <nixpkgs> {
    overlays = [
      (import (builtins.fetchGit {
        url = "https://github.com/nix-community/emacs-overlay.git";
        ref = "master";
        rev = "37b7e04514d9f867d5a16b66ed112be6b674ddcb";
      }))
    ];
  }
}:
let
  myEmacs = pkgs.emacsGcc;
  emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages;
in
emacsWithPackages (epkgs:
[ epkgs.melpaPackages.haskell-mode ])

Desired output

{ pkgs ? import <nixpkgs> {
    overlays = [
      (import (builtins.fetchGit {
        url = "https://github.com/nix-community/emacs-overlay.git";
        ref = "master";
        rev = "37b7e04514d9f867d5a16b66ed112be6b674ddcb";
      }))
    ];
  }
}:
let
  myEmacs = pkgs.emacsGcc;
  emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages;
in
emacsWithPackages (epkgs:
    [ epkgs.melpaPackages.haskell-mode ])

Or simply:

emacsWithPackages (epkgs:
- [ epkgs.melpaPackages.haskell-mode ])
+    [ epkgs.melpaPackages.haskell-mode ])
@ParetoOptimalDev ParetoOptimalDev added formatting Issue with the output format needs triage labels Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatting Issue with the output format needs triage
Projects
None yet
Development

No branches or pull requests

1 participant