mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-10-09 19:11:15 +02:00
nvim: added snippet support
This commit is contained in:
10
.config/nvim/snippets/tex.snippets
Normal file
10
.config/nvim/snippets/tex.snippets
Normal file
@@ -0,0 +1,10 @@
|
||||
# Section
|
||||
snippet sec \section
|
||||
\\section{${1:section name}}%
|
||||
\\label{sec:${2:$1}}
|
||||
${0}
|
||||
# Section without number
|
||||
snippet sec* \section*
|
||||
\\section*{${1:section name}}%
|
||||
\\label{sec:${2:$1}}
|
||||
${0}
|
Reference in New Issue
Block a user