Skip to content

Feature Request: Allow config to define filetypes #35

@nxuv

Description

@nxuv

To allow running custom languages

Also possible cmd insertions (i.e ${TMP} in C's cmd?

Example:

opts = {
    file_types = {
        d = {
            cmd = "dub run --single",
            extensions = { "d" }
        },
        c = {
            cmd = "gcc ${TMP} -o ${TMP}_output; ./${TMP}_output",
            extensions = { "c", "h" }
        }
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions