mirror of
https://github.com/zoriya/jj.nvim.git
synced 2026-08-05 10:46:08 +00:00
- Replace nested if/elseif chains with dispatch table for cleaner pattern matching - Store remaining_args_str to avoid repeated table.concat() calls - Simplify whitespace trimming using vim.trim() instead of gsub patterns - Add state.buf_cmd tracking to store subcommand on successful execution for conditional UI refreshes - Clean up state on buffer close and execution failure - Add conditional log refresh for squash(), undo(), and redo() when log buffer is active - Fix type annotations for nil handling