Skip to content

Setting major mode from vim modeline? #4

@DarwinAwardWinner

Description

@DarwinAwardWinner

Would you be interested in a patch that would use the vim modeline to set the major mode of a file from the vim modeline's "syntax" declaration? I'm thinking of implementing such a feature. The general idea would be to add a function to magic-mode-alist that gets the syntax declaration and looks it up in an alist that maps vim syntax names to emacs major mode functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions