Created
October 25, 2019 13:18
-
-
Save anddam/408666f3fb3deb31f1038d072c9c2b5d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:sts double free or corruption (!prev) | |
Aborted | |
$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vis:command_register("sts", function(argv, force, win, selection, range) | |
if vis.win.strip_trailing_spaces then | |
vis:command("x/a/ c/FOO/") | |
vis:info("Line trailing spaces trimmed.") | |
-- vis:info("vis.win.strip_trailing_spaces bool value: " .. tostring(vis.win.strip_trailing_spaces)) | |
end | |
return true; | |
end, "Strip line trailing spaces" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment