I wanted to add detection for a couple of common conventions:
Gitlab CI config is often decomposed into files ending with .gitlab-ci.yml. For example, these templates. Sublime Text's file_extensions key does not allow for this.
Github composite actions, which live alongside workflow files. They are nested one level deeper, so I had to make the pattern **/* instead of **.
This meant expanding the path-pattern-based detection of syntax to use a mapping.
I wanted to add detection for a couple of common conventions:
.gitlab-ci.yml
. For example, these templates. Sublime Text'sfile_extensions
key does not allow for this.**/*
instead of**
.This meant expanding the path-pattern-based detection of syntax to use a mapping.