Skip to content

comments swallowed when expanding template #115

@Konfekt

Description

@Konfekt

The file template=makefile with content

NAME=main
FILES=%HERE%
DEP=$(NAME).pandoc $(FILES)

# vim:ft=make

produces, when calling vim makefile, the following file:

NAME=main
FILES=%HERE%
DEP=$(NAME).pandoc $(FILES)

That is, the comment disappears. In fact, if the comment is not placed at the beginning of the file, all lines below it won't appear when the template is expanded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions