Open rncar opened 4 years ago
@rncar I'm not sure I follow the request here. You'd like some way to have parinfer applied to multi-line strings? vim-parinfer basically passes a region of text to the parinfer algorithm to apply parenthesis accordingly, a multi-line string wouldn't necessarily have parenthesis.
Which lisp are you using with the plugin?
The lisp is Janet: https://github.com/janet-lang/janet https://janet-lang.org/docs/syntax.html
The problem, if I use parens, curlies or brackets in multilines strings, parinfer modify the string. The parinfer algorithm should skip that block.
Same for the Janet comment symbol, #
.
Would be nice an easy way to add new formats to vim-parinfer.
For example, Janet (https://github.com/janet-lang/janet) has multiline strings using any number of backticks `:
And use # for comments:
Any way I could add this ? Thanks and great work, vim-parinfer works great.