Open
Description
Similar to #24.
If I type some text and use Sideways to add quotes, it fails when the text has an unmatched quote (single or double) and later in the file there's a matching quote.
With file test.cs:
public class Modifier
{
public static bool Test()
{
Debug.Log(this unmatched quote ' breaks surrounding text with quotes, this);
return true;
}
// because of this unmatched quote '
}
omap i, <Plug>SidewaysArgumentTextobjI
0
/this unmatched
normal nsi,"
I guess it's interpreting ' breaks surrounding text with quotes, this);
as a string that continues past the end of the line. My syntax highlighting (nickspoons/vim-cs) doesn't, but maybe sideways has its own way to determine what's a string?
Metadata
Metadata
Assignees
Labels
No labels