yasnippet-snippets icon indicating copy to clipboard operation
yasnippet-snippets copied to clipboard

a collection of yasnippet snippets for many languages

Results 51 yasnippet-snippets issues
Sort by recently updated
recently updated
newest added
trafficstars

Before this commit, this snippet formatted a NOTE marker as a snippet directive, as `NOTE:`. As `NOTE` isn't a directive, this triggered a directive warning.

I'm sorry, it snippet was not commented out because the header contains extra characters at the beginning of the line. Fixes https://github.com/AndreaCrotti/yasnippet-snippets/pull/496

Easycrypt is a formal verification tool used in cryptography that takes inspiration from languages like Coq and OCaml. Since I use this language frequently, I added easycrypt snippets. They do...

I put the ending points for the julia snippets in the bodies of the expressions so that one can take advantage of yas-wrap-around-region.

Maybe [issue #1200 from yasnippet](https://github.com/joaotavora/yasnippet/issues/1200) rather belongs here? Possibly introduced by #465, > Expanding e.g. function_docstring and tabbing the cursor to args, shows error Wrong type argument: listp > [...]...

Switched from js2-mode parser to treesitter parser in the conditions of return-comment, type-multiline-comment, type-inline-comment, param-comment for the js-ts-mode snippets. js-ts-mode snippets are now the .yas-parents of typescript-ts-mode.

Suppose we are in the file `my-header.hpp`. This snippet would expand the once macro to `#define MY-HEADER_H` which is not an ideal expansion because the `MY-HEADER_H` is not a valid...

The TreeSitter modes were bulk-added, but are currently empty. All the snippets from the "base" modes have been copied into the TreeSitter modes, so that they can be used with...

`main` is a file template, not sure if that should be handled differently

[mount/3](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#c:mount/3) [render/1](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#c:render/1) [handle_event/3](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#c:handle_event/3) [handle_info/2](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#c:handle_info/2) [handle_params/3](https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#c:handle_params/3)