Skip to content

python has @decorators, tail-matcher needs update #2

@froh

Description

@froh

Hi,

I've provisionally fixed poly-noweb.el to support @decorators with a :tail-matcher (cons "^[ \t]*\\(@[ \t]*\\)$" 1) twice in the file. As I have no clue how the match groups are used, maybe the [:blank:] needs to go after the match group?

Anyhow, python decorators now work for me with polymode.

;; Version: 0.2.2
;; Package-Version: 20200316.1315
;; Package-Commit: 3b0cd36ca9a707e8a09337a3468fa85d81fc461c

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