Skip to content

Commit

Permalink
Merge pull request #146 from pze/master
Browse files Browse the repository at this point in the history
fix: E5108 error in command line buffer
  • Loading branch information
mrjones2014 authored Jan 11, 2024
2 parents 2009a38 + 958d385 commit 36bfe63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/smart-splits/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ vim.tbl_map(function(direction)
amount = amount or (vim.v.count1 * config.default_amount)
pcall(resize, direction, amount)
-- guarantee we haven't moved the cursor by accident
vim.api.nvim_set_current_win(cur_win_id)
pcall(vim.api.nvim_set_current_win, cur_win_id)
is_resizing = false
-- luacheck:ignore
vim.o.eventignore = eventignore_orig
Expand Down

0 comments on commit 36bfe63

Please sign in to comment.