Commit b75cafc
fix: exclude snacks_picker_list from main editor window detection (#165)
Add snacks_picker_list filetype to the exclusion list in:
- find_main_editor_window(): prevents picker from being selected as target
- _create_diff_view_from_window(): creates split when picker is focused
This fixes diff view behavior when using snacks.nvim picker.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 6091df0 commit b75cafc
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
918 | 919 | | |
919 | 920 | | |
920 | 921 | | |
921 | | - | |
| 922 | + | |
922 | 923 | | |
923 | 924 | | |
924 | 925 | | |
| |||
0 commit comments