mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 20:20:41 +00:00
Initial commit
This commit is contained in:
parent
b912871070
commit
a3e01caebf
157 changed files with 9696 additions and 0 deletions
15
home/.config/lvim/snippets/package.json
Normal file
15
home/.config/lvim/snippets/package.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "nvim-snippets",
|
||||
"author": "ItsDrike",
|
||||
"engines": {
|
||||
"vscode": "^1.11.0"
|
||||
},
|
||||
"contributes": {
|
||||
"snippets": [
|
||||
{
|
||||
"language": "python",
|
||||
"path": "./python.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
21
home/.config/lvim/snippets/python.json
Normal file
21
home/.config/lvim/snippets/python.json
Normal file
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"future.__annotations__": {
|
||||
"prefix": "futann",
|
||||
"body": "from __future__ import annotations\n",
|
||||
"description": "Add __future__.annoations import."
|
||||
},
|
||||
"script": {
|
||||
"prefix": "script",
|
||||
"body": [
|
||||
"#!/usr/bin/env python3",
|
||||
"",
|
||||
"def main() -> None:",
|
||||
"\t${1:...}",
|
||||
"",
|
||||
"",
|
||||
"if __name__ == \"__main__\":",
|
||||
"\tmain()"
|
||||
],
|
||||
"description": "print Hello, World!"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue