yasnippet-snippets
yasnippet-snippets copied to clipboard
a collection of yasnippet snippets for many languages
Currently `import` and `import(` both use `imp`. Same with `var`. This is a bit annoying as these are used often and result in a prompt to pick the desired one....
Hi @AndreaCrotti and @galaunay! This PR supersedes #259. Please refer to #259 for the full history and discussion. Also, please do not squash or rebase, because I took extra care...
Hi, I made some snippets for swagger api spec (https://github.com/rpdeo/swagger-snippets), while I was exploring using Swagger. They work with yaml-mode (not swagger-mode). If there is interest in merging these, please...
For someone, custom file may be loaded at last of all init code. The changing by `yasnippet-snippets-initialize` will be overwritten unless one edit custom file or load this package by...
Hi! I think the snippet `moderncv-cventry` is wrong. As you see: ``` # -*- mode: snippet -*- # name: moderncv-cventry # key: cventry # -- \cventry{${1:year}}{${2:job}}{${3:employer}}{${4:city}}{${5:description}} $0 ``` It expands...
remove unnecessary newline in js-mode `function` snippet. before: ```js setTimeout(function () { } ) ``` after removed the newline: ```js setTimout(function () { }) ```
Initially reported here: https://github.com/joaotavora/yasnippet/issues/1186 --- When working with `` blocks of the `.vue` files I get the following errors when trying to expand `lsp-mode` suggestions. ``` [yas] Error in condition...
When I open a Python file, I get two yasnippet warnings. First: Ignoring unknown directive "NOTE" in file: /home/joost/.emacs.d/elpa/yasnippet-snippets-20240115.1138/snippets/python-mode/function_docstring `function_docstring` has the following line in its header: ``` # NOTE:...
I have some Python functions that accept SQL statements, so I have some templates that insert a triple quoted string. For example, the result I'm trying to achive is: cnxn.execute(...
Hello, There appear to be a few typographical errors in the c++ and cc modes that cause warnings in emacs: ``` Ignoring unknown directive "desc" in file: /home/user/spacemacs/elpa/29.2/develop/yasnippet-snippets-20240115.1138/snippets/c++-mode/class11 Ignoring unknown...