Files
zed/crates/vim/test_data/test_unmatched_backward.json
T
Helge Mahrt 57e4540759 vim: Add "unmatched" motions ]}, ]), [{ and [( (#21098)
Closes #20791

Release Notes:

- Added vim ["unmatched"
motions](https://github.com/vim/vim/blob/1d87e11a1ef201b26ed87585fba70182ad0c468a/runtime/doc/motion.txt#L1238-L1255)
`]}`, `])`, `[{` and `[(`

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
2024-11-26 14:08:54 -08:00

25 lines
884 B
JSON

{"Put":{"state":"func (a string) {\n do(something(with<Types>.anˇd_arrays[0, 2]))\n}"}}
{"Key":"["}
{"Key":"{"}
{"Get":{"state":"func (a string) ˇ{\n do(something(with<Types>.and_arrays[0, 2]))\n}","mode":"Normal"}}
{"Put":{"state":"func (a string) {\n do(somethiˇng(with<Types>.and_arrays[0, 2]))\n}"}}
{"Key":"["}
{"Key":"("}
{"Get":{"state":"func (a string) {\n doˇ(something(with<Types>.and_arrays[0, 2]))\n}","mode":"Normal"}}
{"Put":{"state":"{{}{} ˇ }"}}
{"Key":"["}
{"Key":"{"}
{"Get":{"state":"ˇ{{}{} }","mode":"Normal"}}
{"Put":{"state":"(()() ˇ )"}}
{"Key":"["}
{"Key":"("}
{"Get":{"state":"ˇ(()() )","mode":"Normal"}}
{"Put":{"state":"{\n {()} ˇ\n}"}}
{"Key":"["}
{"Key":"{"}
{"Get":{"state":"ˇ{\n {()} \n}","mode":"Normal"}}
{"Put":{"state":"(\n {()} ˇ\n)"}}
{"Key":"["}
{"Key":"("}
{"Get":{"state":"ˇ(\n {()} \n)","mode":"Normal"}}