mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
add(nvim): digestif (LS for tex)
This commit is contained in:
parent
166cdb25f5
commit
978f150401
7 changed files with 61 additions and 23 deletions
|
|
@ -13,6 +13,10 @@
|
|||
{
|
||||
"language": "xml",
|
||||
"path": "./xml.json"
|
||||
},
|
||||
{
|
||||
"language": "tex",
|
||||
"path": "./tex.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
25
.config/nvim/snippets/tex.json
Normal file
25
.config/nvim/snippets/tex.json
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"Verbatim mode": {
|
||||
"prefix": "```",
|
||||
"body": [
|
||||
"\\begin{Verbatim}[commandchars=\\\\\\\\\\{\\\\}]",
|
||||
"$0",
|
||||
"\\end{Verbatim}"
|
||||
],
|
||||
"description": "Verbatim mode mapped to markdown's codeblock"
|
||||
},
|
||||
"Opening French quotes": {
|
||||
"prefix": "<<",
|
||||
"body": [
|
||||
"«~"
|
||||
],
|
||||
"description": "Opening French quote with non breaking space"
|
||||
},
|
||||
"Closing French quote": {
|
||||
"prefix": ">>",
|
||||
"body": [
|
||||
"~»"
|
||||
],
|
||||
"description": "Closing French quote with non breaking space"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue