change implementation of 'word' so that we stop at newlines when we press 'w' motion, like in Vim and add tests to verify this behaviour (todo: fix regressions in deletion tests)

This commit is contained in:
2025-12-27 06:05:36 +00:00
parent 9e809e146a
commit 9846750c51
3 changed files with 81 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
hello abc_123 world
hello
fun hello () =
print (##)lo"
world