
Instead of trying to extend the Mode::Visual special case, just split out into three different modes.
10 lines
586 B
JSON
10 lines
586 B
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"}}
|