Closed kevinpeno closed 10 years ago
I'm using the latest version of editorconfig-core-py. @treyhunner ?
The core libraries all work fine for me, so I'm guessing there's a problem with the file or with the plugin installation.
@kevinpeno can you include an example .editorconfig and project that it doesn't work in? An example would help troubleshoot.
Are wildcards allowed in delimited selectors? I'm having a problem with [{*.js,*.css,*.hbs}]
only working on *.js
files.
Edit: My problem was using *
instead of **
.
Edit2: I guess I just didn't understand glob: [*.{js,css,hbs}]
Closing as this is an editorconfig-core-py issue/question. @dannyfritz open a ticket there if you don't get an answer from @treyhunner
@dannyfritz yes, wildcard delimiters should be supported in {
...}
braces.
Sorry for the delayed response. @treyhunner the example was similar to @dannyfritz final comment. Until I saw your last comment, I figured this was where my error was (globbing inside the {...}
structure. A deeper example, I was trying to enforce a yml style format in handlebars (hbs) files that only exist for a hacked reason (assemble.io work around).
[{*.yml, /hacked-hbs/**.hbs}]
# yml file format options
Editor config spec defines the ability to use delimited wildcards (e.g. {s1,s2,s3}). I've tried this using this plugin and it doesn't appear to be supported. I'm currently forced to include what I would delimit multiple times.
http://editorconfig.org/#file-format-details