Alt

Indiana Jones swapping out an artifact for a fake one meme template with the text “existing code” on the real artifact, “new commit” on the fake one, and “linter” on the pedestal / trap

  • wise_pancake@lemmy.ca
    link
    fedilink
    arrow-up
    23
    ·
    25 days ago

    I used to have my vim set up to trim excess whitespace on write.

    I had no idea how many errant diff’s that would generate, I had to turn it off.

      • wise_pancake@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        24 days ago

        That History section is exactly what happened to me

        I’ll have to see if there’s a nvim equivalent, or if I can make my own

    • esa@discuss.tchncs.de
      link
      fedilink
      arrow-up
      4
      ·
      24 days ago

      Yeah, you generally just want the same auto-stuff done as would be enforced in CI anyway.

      … all the other stuff you could fix but wind up just ignoring because your team ignores it will just glare at you until you sneak it in somehow

      • wise_pancake@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        24 days ago

        I’ve been trying to pair down my extensions, so I’ve been using ale’s fixers to do formatting.

        I’m not a huge fan though, I’ll probably go back to vim auto format.