Skip to content

Possible to have a per project setting to set certain extensions to a certain grammar? #32

@samcv

Description

@samcv

Is it possible to use a .editor-config file and set which grammar it should use?

I don't know if you can already do this but I wasn't able to figure it out by reading the documentation several times. Something like this?

extensionConfig:
  pm:
    grammar: 'source.perl6fe'

To set all *.pm files in a directory to the source.perl6fe grammar (the scope name of the grammar)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions