nvim: stop using nix for nvim

I just wanna work, I don't wanna nix
This commit is contained in:
Léana 江 2024-01-22 19:40:30 +01:00 committed by Léana 江
parent 157b568ab4
commit 3b08674586
30 changed files with 0 additions and 9 deletions

View file

@ -0,0 +1,41 @@
{
"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": [
"${1:var} = []",
"with open(\"${2:file.txt}\") as f:",
"\t${1:var} = [",
"\t\tline.strip()",
"\t\tfor line in f.readlines() if line != '\\n'",
"\t]",
""
]
}
}