mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nvim): cleanup snippets
This commit is contained in:
parent
008049056b
commit
e4c659334a
2 changed files with 0 additions and 103 deletions
|
|
@ -1,31 +1,4 @@
|
|||
{
|
||||
"Dict comprehension": {
|
||||
"prefix": "dc",
|
||||
"body": [
|
||||
"{",
|
||||
"\t${3:key}:${4:value}",
|
||||
"\tfor ${1:var} in ${2:iterated}",
|
||||
"}",
|
||||
""
|
||||
]
|
||||
},
|
||||
"List comprehension": {
|
||||
"prefix": "lc",
|
||||
"body": [
|
||||
"[",
|
||||
"\t${3:var}${4:transformation}",
|
||||
"\tfor ${1:var} in ${2:iterated}",
|
||||
"]",
|
||||
""
|
||||
]
|
||||
},
|
||||
"For": {
|
||||
"prefix": "for",
|
||||
"body": [
|
||||
"for ${1:var} in ${2:iterable}:",
|
||||
"\t"
|
||||
]
|
||||
},
|
||||
"Open, read and save file to variable": {
|
||||
"prefix": "open",
|
||||
"body": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue