chore: Added Latex snippets
This commit is contained in:
17
.config/nvim/lua/custom/luasnippets/languages/latex.json
Normal file
17
.config/nvim/lua/custom/luasnippets/languages/latex.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"Create Split": {
|
||||
"prefix": ["split"],
|
||||
"body": [
|
||||
"\\langle $1 \\rangle$0"
|
||||
],
|
||||
"description": "Create a Split"
|
||||
},
|
||||
|
||||
"Use CP Rule": {
|
||||
"prefix": ["rule"],
|
||||
"body": [
|
||||
"\\equiv \\{Propriedade\\ ${1:Numero_da_propriedade}\\}$0"
|
||||
],
|
||||
"description": "Create a Split"
|
||||
}
|
||||
}
|
||||
11
.config/nvim/lua/custom/luasnippets/package.json
Normal file
11
.config/nvim/lua/custom/luasnippets/package.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "My Custom Snippets",
|
||||
"contributes":{
|
||||
"snippets":[
|
||||
{
|
||||
"language":["plaintex","tex"],
|
||||
"path": "./languages/latex.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user