Added Latex snippets
This commit is contained in:
parent
0920366c9d
commit
b9c54ea4b8
5 changed files with 44 additions and 0 deletions
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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue