Skip to content

Commit

Permalink
chore: style
Browse files Browse the repository at this point in the history
  • Loading branch information
tris203 committed Jun 1, 2024
1 parent 918ab44 commit ab41c19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lua/precognition/horizontal_motions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ function M.end_of_word(str, cursorcol, linelen, big_word)
local rev_offset

if
(c_class == cc.puncuation and next_char_class ~= cc.puncuation) or (next_char_class == cc.puncuation and c_class ~= cc.puncuation)
(c_class == cc.puncuation and next_char_class ~= cc.puncuation)
or (next_char_class == cc.puncuation and c_class ~= cc.puncuation)
then
offset = offset + 1
char = vim.fn.strcharpart(str, offset - 1, 1)
Expand Down
1 change: 0 additions & 1 deletion tests/precognition/char_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ describe("big_word classing", function()
eq(utils.char_class("@", true), 1)
eq(utils.char_class(".", true), 1)
end)

end)

describe("pad arrays", function()
Expand Down

0 comments on commit ab41c19

Please sign in to comment.