1
0
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:
2022-09-03 05:47:35 +02:00
parent e194e2f9bb
commit 9b60120f65
2 changed files with 40 additions and 7 deletions

View 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}