How to insert new lines in delimiter pair depending on the input? #248
-
For example, I have the following configuration. I want to add new lines in delimeter pair when |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The main thing to note is that multi-line strings are denoted using tables of strings. Thus |
Beta Was this translation helpful? Give feedback.
The main thing to note is that multi-line strings are denoted using tables of strings. Thus
{ "$", "" }, { "", "$" }
is a pair of dollar signs on new lines above/below the cursor. You should be able to use anif
statement to determine what value you wish to return. More info can be found in thesurrounds.add
section of the help menu.