Small fix: Following up on https://github.com/zed-industries/zed/pull/24518 where i missed `vi{`. Matching neovim(tree-sitter), `vi{` should not have the newline selected (Now `vi{d`/`vi{c` can match `di{`/`ci{`). Also moved the cursor to the start. |prev|new|neovim| |---|---|---| |||| Release Notes: - N/A
21 lines
1.2 KiB
JSON
21 lines
1.2 KiB
JSON
{"Put":{"state":"func empty(a string) bool {\n if a == \"\" {\n return true\n }\n ˇreturn false\n}"}}
|
|
{"Key":"v"}
|
|
{"Key":"i"}
|
|
{"Key":"{"}
|
|
{"Get":{"state":"func empty(a string) bool {\n «ˇif a == \"\" {\n return true\n }\n return false»\n}","mode":"Visual"}}
|
|
{"Put":{"state":"func empty(a string) bool {\n if a == \"\" {\n ˇreturn true\n }\n return false\n}"}}
|
|
{"Key":"v"}
|
|
{"Key":"i"}
|
|
{"Key":"{"}
|
|
{"Get":{"state":"func empty(a string) bool {\n if a == \"\" {\n «ˇreturn true»\n }\n return false\n}","mode":"Visual"}}
|
|
{"Put":{"state":"func empty(a string) bool {\n if a == \"\" ˇ{\n return true\n }\n return false\n}"}}
|
|
{"Key":"v"}
|
|
{"Key":"i"}
|
|
{"Key":"{"}
|
|
{"Get":{"state":"func empty(a string) bool {\n if a == \"\" {\n «ˇreturn true»\n }\n return false\n}","mode":"Visual"}}
|
|
{"Put":{"state":"func empty(a string) bool {\n if a == \"\" {\n return true\n }\n return false\nˇ}"}}
|
|
{"Key":"v"}
|
|
{"Key":"i"}
|
|
{"Key":"{"}
|
|
{"Get":{"state":"func empty(a string) bool {\n «ˇif a == \"\" {\n return true\n }\n return false»\n}","mode":"Visual"}}
|