15 Commits
Author SHA1 Message Date
Nicolas GBandGitHub 7f2786ff16 refactor!: Migrate runners cmd from string to argv (#134)
Migrate command execution to structured argv lists across the plugin, replacing shell-string command construction with `vim.system` argv execution. The runner API now exposes argv-based execution as the default path:

   - `runner.execute_command` -> `runner.execute`
   - `runner.execute_command_async` -> `runner.execute_async`
   - `runner.execute_command_raw` -> `runner.execute_raw`
   - `runner.execute_command_raw_async` -> `runner.execute_raw_async`
   - `runner.execute_command_sync` was removed; use `runner.execute` and handle the result directly

BREAKING CHANGES:
   - `cmd.new({ args = ... })` now requires `args` as `string[]` argv tokens, not a single string.
   - `cmd.log({ ... })` now uses `raw_flags` as `string[]` for raw passthrough flags; `raw = "..."` is no longer supported.
   - Direct users of `jj.core.runner` must migrate from the old `execute_command*` string helpers to the new argv-based `execute*` helpers.
2026-07-07 18:25:30 +02:00
NicolasGB c724290141 fix(filesets): Correclty escape filesets in different commands to avoid
special characters breaking jj's parsing
2026-06-30 12:45:40 +02:00
NicolasGB db06e9a73c fix(tests): Update an old test to match correct new behavior 2026-06-30 12:45:40 +02:00
Björn SteinbrinkandGitHub f217b16699 feat(picker): Add picker to navigate conflict sections (#131) 2026-06-23 09:59:42 +02:00
Nicolas GBandGitHub cffc74128a fix(picker): Reformat the file history picker (#127) 2026-06-18 20:24:29 +02:00
Nicolas GBandGitHub 30d740024d feat(picker): Fallback to vim.ui.select in all pickers (#126) 2026-06-18 20:08:58 +02:00
Nicolas GBandGitHub af14ce8eda feat(picker): Add a conflict picker (#119) 2026-06-18 20:03:27 +02:00
Björn SteinbrinkandGitHub 8696843752 fix(picker): run jj without pager to avoid spurious "(END)" marker (#120) 2026-06-03 10:40:27 +02:00
NicolasGB 71f640be45 feat(status,highlights): Handle renamed files in restore and picker flows
- Improve status-line parsing to support top-level and nested rename 
        syntaxes, so actions no longer include trailing braces in paths.
    - Update the Snacks status picker integration to pass structured 
        rename/status metadata and use git_status formatting, preserving 
        icons/highlighting while showing rename pairs correctly.
    - Also tighten renamed-line highlighting in the editor buffer for consistent jjRenamed behavior.
2026-05-19 18:05:17 +02:00
Marco S HymanandGitHub a7b9de68cb Fix: snacks picker history (#59) 2025-12-30 09:42:26 +01:00
NicolasGB e545d02ceb refactor: restructure the whole plugin following a better separation of concers 2025-11-23 16:34:42 +01:00
NicolasGB b6def1df67 feat(picker): Add file history picker 2025-07-03 21:46:24 +02:00
NicolasGB 59c0750437 feat(diff): Add options to diff command to allow diffing only current buffer 2025-07-03 19:04:00 +02:00
NicolasGB 854ee40ce0 feat(new): Allow passing arguments to through the cli and add better UX flow on lua api 2025-07-02 18:12:26 +02:00
NicolasGB b258574092 feat(picker): Add a snacks picker with jj status command 2025-06-30 17:42:54 +02:00