Skip to content

Can't indent inside doc strings #16

Open
@danielmatz

Description

@danielmatz

When inside a multi-line string (like a doc string), julia-mode allows you to manually indent. This is useful for writing signatures in doc strings. With julia-ts-mode, indentation is locked to the beginning of the line of the parent (I think).

For example, in the following case, with point represented by |, trying to indent just keeps point where it's at.

function foo()
    x = """
    |
    """
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions