mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref(nix): drop neovim legacy support
This commit is contained in:
parent
83bdeb6977
commit
8e78bef74b
30 changed files with 1 additions and 1 deletions
91
nix/home/common/neovim/nvim/snippets/typst.json
Normal file
91
nix/home/common/neovim/nvim/snippets/typst.json
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
{
|
||||
"Enum item": {
|
||||
"prefix": "ei",
|
||||
"body": [
|
||||
"#enum.item[",
|
||||
"$0",
|
||||
"]"
|
||||
]
|
||||
},
|
||||
"List item": {
|
||||
"prefix": "li",
|
||||
"body": [
|
||||
"#list.item[",
|
||||
"$0",
|
||||
"]"
|
||||
]
|
||||
},
|
||||
"code": {
|
||||
"prefix": "sc",
|
||||
"body": [
|
||||
"#code[```$1",
|
||||
"$0",
|
||||
"```]"
|
||||
]
|
||||
},
|
||||
"showybox": {
|
||||
"prefix": "sb",
|
||||
"body": [
|
||||
"#showybox(title: [ $1 ],",
|
||||
"[ $0 ]",
|
||||
")"
|
||||
]
|
||||
},
|
||||
"showybox definition": {
|
||||
"prefix": "sd",
|
||||
"body": [
|
||||
"#showybox_definition(title: [ $1 ],",
|
||||
"[ $0 ]",
|
||||
")"
|
||||
]
|
||||
},
|
||||
"showybox remark": {
|
||||
"prefix": "sr",
|
||||
"body": [
|
||||
"#showybox_remark(title: [ $1 ],",
|
||||
"[ $0 ]",
|
||||
")"
|
||||
]
|
||||
},
|
||||
"showybox example": {
|
||||
"prefix": "se",
|
||||
"body": [
|
||||
"#showybox_example(title: [ $1 ],",
|
||||
"[ $0 ]",
|
||||
")"
|
||||
]
|
||||
},
|
||||
"showybox file": {
|
||||
"prefix": "sf",
|
||||
"body": [
|
||||
"#showybox_file(title: [ $1 ],",
|
||||
"[ $0 ]",
|
||||
")"
|
||||
]
|
||||
},
|
||||
"algorithm": {
|
||||
"prefix": "algo",
|
||||
"body": [
|
||||
"#algorithm(",
|
||||
"\tcaption: [ $1 ],",
|
||||
"\t{",
|
||||
"\t\tpseudocode(",
|
||||
"\t\t$0",
|
||||
"\t)},",
|
||||
")"
|
||||
]
|
||||
},
|
||||
"Config report": {
|
||||
"prefix": "report",
|
||||
"body": [
|
||||
"#import \"template/report.typ\": *",
|
||||
"",
|
||||
"#show: conf.with(",
|
||||
" title : \"${1}\",",
|
||||
" author : \"${2:Léana CHIANG}\",",
|
||||
" lang : \"${3:fr}\",",
|
||||
")",
|
||||
"$0"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue