Skip to content

Commit

Permalink
Change style
Browse files Browse the repository at this point in the history
  • Loading branch information
bigzhu committed Jan 22, 2025
1 parent 418a3c7 commit 7efa286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/obsidian/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -985,9 +985,9 @@ util.get_visual_selection = function(opts)
end

-- Check if last byte is part of a multibyte character & adjust end index if so
local is_multibyte_char = util.isMultibyteChar({ buffer = 0, row = cerow - 1, start_col = cecol })
local is_multibyte_char = util.isMultibyteChar { buffer = 0, row = cerow - 1, start_col = cecol }
if is_multibyte_char then
cecol = is_multibyte_char['finish']
cecol = is_multibyte_char["finish"]
end

---@type string
Expand Down

0 comments on commit 7efa286

Please sign in to comment.