Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix-mode
base: 1512d02830fe
Choose a base ref
...
head repository: NixOS/nix-mode
compare: 7f968e8a7f95
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jan 3, 2019

  1. Add function to indent things in blocks for nix-indent-line

    Add a function `nix-indent-first-line-in-block` that checks if the
    last word on the previous line is one of "let, import, [, =, (, {".
    Then it adds two spaces of indent to the one of the previous line.
    
    And if you stand on the first line of a file, it defaults to indenting
    the line to zero spaces.
    etu committed Jan 3, 2019
    Copy the full SHA
    98426b9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #61 from etu/master

    Add function to indent things in blocks for nix-indent-line
    matthewbauer committed Jan 3, 2019
    Copy the full SHA
    7f968e8 View commit details
    Browse the repository at this point in the history