mineo / yatemplate

File templates for Emacs with YASnippet
https://github.com/mineo/yatemplate
GNU General Public License v3.0
70 stars 11 forks source link

fix: only search files under the root directory of yatemplate-dir #18

Closed EMayej closed 6 years ago

EMayej commented 6 years ago

see #17

mineo commented 6 years ago

Merged, thanks! I've also added a test for this.

About your comment regarding subdirectories in #17: while the code looks like it somehow dealt with subdirectories in yatemplate-dir, it never did work like you (or at least I) would expect. Let's not go the extra mile to make it work for now.

EMayej commented 6 years ago

Great! Thanks for merging.

For a second thought, I believe there is no need to add sub-directory support because we use file name as regex, sub-directory names doesn't bring any value.