diff --git a/nvim/snippets/snippets/tex.json b/nvim/snippets/snippets/tex.json index c89d848..d48c72a 100755 --- a/nvim/snippets/snippets/tex.json +++ b/nvim/snippets/snippets/tex.json @@ -3,9 +3,7 @@ "prefix": "latex-prepare", "body": [ "\\documentclass{article}\n", - "\\newcommand{\\dir}{~/projects/latex} % IMPORTANT: No trailing slashes!", - "\\input{\\dir/include.tex}", - "\\load{recommended}\n", + "\\input{~/projects/latex/dist/recommended.tex}\n", "\\setup{$1}\n", "\\begin{document}", "\\startDocument", @@ -430,9 +428,7 @@ "prefix": "latex-letter", "body": [ "\\documentclass[12pt,a4paper]{scrlttr2}\n", - "\\newcommand{\\dir}{~/projects/latex} % IMPORTANT: No trailing slashes!", - "\\input{\\dir/include.tex}", - "\\load{letter}\n", + "\\input{~/projects/latex/dist/letter.tex}\n", "% Subject", "\\setkomavar{subject}{$1}", "\\begin{document}\\raggedright",