{"id":15038804,"url":"https://github.com/andreacrotti/yasnippet-snippets","last_synced_at":"2025-05-14T07:08:31.897Z","repository":{"id":1074100,"uuid":"915438","full_name":"AndreaCrotti/yasnippet-snippets","owner":"AndreaCrotti","description":"a collection of yasnippet snippets for many languages","archived":false,"fork":false,"pushed_at":"2025-05-07T08:34:04.000Z","size":1495,"stargazers_count":1198,"open_issues_count":31,"forks_count":477,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-05-07T09:36:21.038Z","etag":null,"topics":["emacs","emacs-lisp","yasnippet"],"latest_commit_sha":null,"homepage":"","language":"YASnippet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndreaCrotti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2010-09-16T13:15:29.000Z","updated_at":"2025-05-07T08:34:10.000Z","dependencies_parsed_at":"2023-12-19T17:50:40.563Z","dependency_job_id":"16079d77-500a-4f3c-8b64-5b71c50653e0","html_url":"https://github.com/AndreaCrotti/yasnippet-snippets","commit_stats":{"total_commits":710,"total_committers":215,"mean_commits":3.302325581395349,"dds":0.6154929577464789,"last_synced_commit":"8e4c521252501dd9ad71ea78fae14683ab7a14cb"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaCrotti%2Fyasnippet-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaCrotti%2Fyasnippet-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaCrotti%2Fyasnippet-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreaCrotti%2Fyasnippet-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreaCrotti","download_url":"https://codeload.github.com/AndreaCrotti/yasnippet-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254092775,"owners_count":22013290,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emacs","emacs-lisp","yasnippet"],"created_at":"2024-09-24T20:40:17.120Z","updated_at":"2025-05-14T07:08:31.871Z","avatar_url":"https://github.com/AndreaCrotti.png","language":"YASnippet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yasnippet official snippet collections\n\n[![MELPA Stable](https://stable.melpa.org/packages/yasnippet-snippets-badge.svg)](https://stable.melpa.org/#/yasnippet-snippets)\n[![NonGNU ELPA](https://elpa.nongnu.org/nongnu/yasnippet-snippets.svg)](https://elpa.nongnu.org/nongnu/yasnippet-snippets.svg)\n[![MELPA](https://melpa.org/packages/yasnippet-snippets-badge.svg)](https://melpa.org/#/yasnippet-snippets)\n\nThis repository contains the official collection of snippets for [yasnippet](http://github.com/capitaomorte/yasnippet).\n\n\n# How to install\n\n## From melpa\n\nYou can install this package from melpa, by first ensuring that you have the melpa source in your package-archives.\n\n```lisp\n(require 'package)\n(add-to-list 'package-archives\n             '(\"melpa\" . \"http://melpa.org/packages/\") t)\n(package-initialize)\n```\n\nOnce that is done, then just refresh the packages and install it with.\n\n* \u003ckbd\u003eM-x package-refresh-contents\u003c/kbd\u003e\n* \u003ckbd\u003eM-x package-install yasnippet-snippets\u003c/kbd\u003e\n\nNow all the snippets will load automatically, as soon as yasnippet loads.\n\n## On Debian ≥10 and derivatives such as Ubuntu ≥ 18.10\n\n`sudo apt install elpa-yasnippet-snippets`\n\n# Contributing\n\nIf you have any useful snippets for any language or framework, then please feel free to contribute, by opening a PR or an issue if you have any suggestions.\n\nTo study the current snippets, I suggest that you use `M-x yas-describe-tables`,\nwhich will show a table representation of all the snippets that are available in the current mode.\n\n\n# Guidelines\n\nSnippets need to be generic enough to be useful for everyone, and not contain anything specific to your own system.\n\n# Various notes\n\n## HTML snippets\n\nUntil September 1st 2014 there were a lot of HTML snippets in the repository, which sometimes were useful, but I came to the conclusion that yasnippet was not the right tool for them, so they were removed in this pull request:\nhttps://github.com/AndreaCrotti/yasnippet-snippets/pull/49\n\nTo everyone writing a lot of HTML I suggest using [emmet mode](https://github.com/smihica/emmet-mode) instead, which is a much more powerful mode for writing HTML tags.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreacrotti%2Fyasnippet-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreacrotti%2Fyasnippet-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreacrotti%2Fyasnippet-snippets/lists"}