Closed dsifford closed 5 years ago
I've recently noticed a strange behavior of this plugin in JSON files. It's easily reproducible using the following contents...
{ "foo": "bar", "foo": "bar" }
(| = cursor)
|
{ "foo": "bar", | "foo": "bar" }
In insert mode, type "
"
{ "foo": "bar", "|foo": "bar" }
Since, the next " comes after a line break, I wouldn't expect the plugin to jump my cursor there. Instead, I'd expect this...
{ "foo": "bar", "| "foo": "bar" }
I've recently noticed a strange behavior of this plugin in JSON files. It's easily reproducible using the following contents...
What happens
(
|
= cursor)In insert mode, type
"
What I'd expect to happen
Since, the next
"
comes after a line break, I wouldn't expect the plugin to jump my cursor there. Instead, I'd expect this...