Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Defer missing the hook #1

@robertmeta

Description

@robertmeta

From: https://github.com/andreyorst/plug.kak/issues/77


Hey,

I noticed this case where defer does not hook correctly.

hook global ModuleLoaded auto-pairs %{
        echo -debug 'this works'
}
plug 'alexherbo2/auto-pairs.kak' defer "auto-pairs" %{
	echo -debug 'this does not'
}

Maybe because it's required so soon? The module is declared and required in the same file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions