Skip to content

Language pragma snippet corrupts undo history #216

Closed
@brandonw

Description

@brandonw

If you do the initial expand of the lang snippet into {-# LANGUAGE #-} but then cancel the expansion before choosing the extension, your undo history will not contain the insertion of {-# LANGUAGE #-}.

It looks as if the text outputted from the snippet before the macro is invoked is somehow not added to the undo history. I tried putting the entire content of the snippet inside of the macro instead of just the extension, but that somehow adds a line break that is not added to the undo history instead.

Metadata

Metadata

Assignees

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