Is it possible to create grammer that matches filetypes with a Regular Expression?


I’m using Docker and if a repository includes multiple Dockerfile files then the convention is to name them

I could only find that grammars support file extension matching or whole file name.

Now I’d like to be able to define a regex or a glob pattern to grammar filetypes to achieve the wanted result :slight_smile:


Not yet unfortunately…you might want to subscribe to for updates.