Skip to content

Fix Editor Scripts manual - no ends_with function #577

Description

@paweljarosz

In manuals several times a function "ends_with" is used. There is no built-in "ends_with" function:

 active = function(opts)
        local path = editor.get(opts.selection, "path")
        return ends_with(path, ".lua") or ends_with(path, ".script")
      end,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    2

    Size

    1

    Score

    4

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions