パラメータに基づいてスニペットに追加の行を挿入しようとしています。そのようなスニペットをどのように設計するかはわかりません。
snippet 'mysnip' 'snippets with optional lines'
This snippet line1 is inserted by default
<This line1a should be inserted if parameter1 is true>
This snippet line2 is inserted by default
<This line2a should be inserted if parameter1 is true>
endsnippet