Skip to content

More custom autocommands #105

Closed
Closed

Description

@TimUntersberger

Add more custom autocommands similiar to #69.

A few events that come to my mind:

  • NeogitCommit
  • NeogitCommitAbort
  • NeogitBeforeCommit
  • ...

Activity

  1. RianFuro commented on Apr 7, 2021

    @RianFuro
    Contributor

    Maybe we could use the operations.lua-thingy to manage that centrally. I was planning to also hook that into a channel-structure (from here), so consumers from the lua side can be notified about changes. (if that's how it works, haven't looked into that too much)

  2. halfdan commented on Oct 13, 2022

    @halfdan
    Contributor

    I would love to see NeogitPullComplete to automatically trigger recompilation of the project I'm working on.

  3. added a commit that references this issue on Oct 13, 2022
  4. halfdan commented on Oct 13, 2022

    @halfdan
    Contributor

    Pushed a PR to add that one event.

    Unsure about using operations.lua - the file mentions it's but a stop-gap solution to deal with plenary shortcomings. Didn't want to build on top of something that was due to be replaced.

    Maybe @TimUntersberger can advise here.

  5. locked and limited conversation to collaborators on Jan 14, 2025
  6. converted this issue into a discussion #1634 on Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions