liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
515 stars 78 forks source link

Using in markdown files inside HTML-like @import statements #56

Open certainlyakey opened 10 years ago

certainlyakey commented 10 years ago

I know it's a rare use case, but I use <!-- @import path/to/file.md --> statements inside markdown files to imitate includes. Is it possible to force AutoFileName to show completions within these statements? I tried to add "markdown" and "comment" to afn_valid_scopes user setting, but this only helped to get completions in markdown images (like ![pic title](../img/pic.png)), but not inside @import statements in the same file.

Thanks!