Is it possible to comment out one element of a multiline list? Or, in general, can you combine line continuations with comments?
(Lightly modified from my vimrc)
[
\'eslint',
\'tsserver',
\'xo'
\]
Or, in general, can you combine line continuations with comments?
Yes, but it must consist of three symbols (see :h line-continuation-comment): quote, backslash and space.
As it stands in your example code right now, it won't work.
The following will work:
[
"\ 'eslint',
\'tsserver',
\'xo'
\]