Skip to content

suggestion: hide "nil" outputs #2

@AlbertLei

Description

@AlbertLei

At this time, the following input:

`foo = 42`{=run_lua}

The answer is: `foo`{=run_lua}

Will output:

nil

The answer is: 42

Maybe it makes sense to hide "nil"? It seems sufficient to insert the following line at Line 19 of the lua filter

if result == nil then return {} end

ps: This is a very inspiring filter for me. Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions