{"action":"closed","issue":{"url":"https://api.github.com/repos/capitaomorte/yasnippet/issues/557","labels_url":"https://api.github.com/repos/capitaomorte/yasnippet/issues/557/labels{/name}","comments_url":"https://api.github.com/repos/capitaomorte/yasnippet/issues/557/comments","events_url":"https://api.github.com/repos/capitaomorte/yasnippet/issues/557/events","html_url":"https://github.com/capitaomorte/yasnippet/issues/557","id":56147085,"number":557,"title":"Provide a way to create global snippets.","user":{"login":"tmccombs","id":2541726,"avatar_url":"https://avatars.githubusercontent.com/u/2541726?v=3","gravatar_id":"","url":"https://api.github.com/users/tmccombs","html_url":"https://github.com/tmccombs","followers_url":"https://api.github.com/users/tmccombs/followers","following_url":"https://api.github.com/users/tmccombs/following{/other_user}","gists_url":"https://api.github.com/users/tmccombs/gists{/gist_id}","starred_url":"https://api.github.com/users/tmccombs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmccombs/subscriptions","organizations_url":"https://api.github.com/users/tmccombs/orgs","repos_url":"https://api.github.com/users/tmccombs/repos","events_url":"https://api.github.com/users/tmccombs/events{/privacy}","received_events_url":"https://api.github.com/users/tmccombs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-01T01:09:13Z","updated_at":"2015-04-13T11:03:46Z","closed_at":"2015-04-13T11:03:46Z","body":"I have some snippets that I would like to work in any mode (such as a copyright notice, an email, etc.) However as far as I understand a snippet is always associated with one or more modes, and the only way to make such a global snippet is to put it in some directory like global-mode or snippet and add .yas-parents files to every other mode. \r\n\r\nThis is a pain, especially since I want to be able to use these global snippets in modes where I may not have any other snippets."}}