{"action":"created","issue":{"url":"https://api.github.com/repos/aperezdc/vim-template/issues/130","repository_url":"https://api.github.com/repos/aperezdc/vim-template","labels_url":"https://api.github.com/repos/aperezdc/vim-template/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/aperezdc/vim-template/issues/130/comments","events_url":"https://api.github.com/repos/aperezdc/vim-template/issues/130/events","html_url":"https://github.com/aperezdc/vim-template/issues/130","id":361790235,"node_id":"MDU6SXNzdWUzNjE3OTAyMzU=","number":130,"title":"Is it possible to match against a path?","user":{"login":"tterranigma","id":11805218,"node_id":"MDQ6VXNlcjExODA1MjE4","avatar_url":"https://avatars2.githubusercontent.com/u/11805218?v=4","gravatar_id":"","url":"https://api.github.com/users/tterranigma","html_url":"https://github.com/tterranigma","followers_url":"https://api.github.com/users/tterranigma/followers","following_url":"https://api.github.com/users/tterranigma/following{/other_user}","gists_url":"https://api.github.com/users/tterranigma/gists{/gist_id}","starred_url":"https://api.github.com/users/tterranigma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tterranigma/subscriptions","organizations_url":"https://api.github.com/users/tterranigma/orgs","repos_url":"https://api.github.com/users/tterranigma/repos","events_url":"https://api.github.com/users/tterranigma/events{/privacy}","received_events_url":"https://api.github.com/users/tterranigma/received_events","type":"User","site_admin":false},"labels":[{"id":933418,"node_id":"MDU6TGFiZWw5MzM0MTg=","url":"https://api.github.com/repos/aperezdc/vim-template/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T14:58:16Z","updated_at":"2018-10-15T00:09:52Z","closed_at":null,"author_association":"NONE","body":"I would like files created in a specific folder to use a specific template. The issue that those files are bash scripts without a suffix, ie `custom/scripts/script1`. \r\n\r\nHow should I name the template that I want to have?\r\n"},"comment":{"url":"https://api.github.com/repos/aperezdc/vim-template/issues/comments/429675306","html_url":"https://github.com/aperezdc/vim-template/issues/130#issuecomment-429675306","issue_url":"https://api.github.com/repos/aperezdc/vim-template/issues/130","id":429675306,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY3NTMwNg==","user":{"login":"aperezdc","id":723451,"node_id":"MDQ6VXNlcjcyMzQ1MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/723451?v=4","gravatar_id":"","url":"https://api.github.com/users/aperezdc","html_url":"https://github.com/aperezdc","followers_url":"https://api.github.com/users/aperezdc/followers","following_url":"https://api.github.com/users/aperezdc/following{/other_user}","gists_url":"https://api.github.com/users/aperezdc/gists{/gist_id}","starred_url":"https://api.github.com/users/aperezdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aperezdc/subscriptions","organizations_url":"https://api.github.com/users/aperezdc/orgs","repos_url":"https://api.github.com/users/aperezdc/repos","events_url":"https://api.github.com/users/aperezdc/events{/privacy}","received_events_url":"https://api.github.com/users/aperezdc/received_events","type":"User","site_admin":false},"created_at":"2018-10-15T00:09:52Z","updated_at":"2018-10-15T00:09:52Z","author_association":"OWNER","body":"Unfortunately it's not currently possible to match paths. I suppose you could use a Vim autocommand like the following (untested):\r\n\r\n```vim\r\nautocmd BufNewFile custom/scripts/* Template .sh\r\n```"}}
{"actor":{"display_login":"aperezdc"}}