@ 261105.2 · fetching

260227.2 · f93d87fa459ba9dc6e2dbf8387b3ce5dde2bda39

fix(win): force update fzf winhl when reuse window (#2587)

When reuse window (cmd reload or switch to new picker), fzf job buffer will change, so have to reapply window-local option again

Fix regression from https://github.com/ibhagwan/fzf-lua/commit/b8d1356b7120f5cf111709cb2fa504096248fb26

reading declarations

Changes to tests/screenshots/tests-win_spec.lua---win---highlight---unchange-when-reuse-win-#2588. All files

tests/screenshots/tests-win_spec.lua---win---highlight---unchange-when-reuse-win-#2588

new file mode 100644@@ -0,0 +1,59 @@+--|---------|---------|---------|---------|---------|---------|----+01|                                                                +02|~                                                               +03|~      ╭─────────────────── Files  h ────────────────────╮      +04|~      │>                                    270/270 (0) │      +05|~      │──────────────────────────────────────────────── │      +06|~      │▌ .editorconfig                                 ││      +07|~      │  .emmyrc.json                                   │      +08|~      │  .github/ISSUE_TEMPLATE/bug.yaml                │      +09|~      │  .github/ISSUE_TEMPLATE/config.yml              │      +10|~      │  .github/ISSUE_TEMPLATE/feature.yaml            │      +11|~      │  .github/workflows/ci.yaml                      │      +12|~      │  .github/workflows/lint.yaml                    │      +13|~      │  .github/workflows/luarocks-release.yaml        │      +14|~      ╰─────────────────────────────────────────────────╯      +15|~      ╭───────────────── .editorconfig ─────────────────╮      +16|~      │  1 # https://github.com/CppCXY/EmmyLuaCodeStyle/       +17|~      │  2 # see https://github.com/CppCXY/EmmyLuaCodeSt│      +18|~      │  3 [*.lua]                                      │      +19|~      │  4 # [basic]                                    │      +20|~      │  5                                              │      +21|~      │  6 # optional space/tab                         │      +22|~      ╰─────────────────────────────────────────────────╯      +23|~                                                               +24|[No Name]                                     0,0-1          All+25|                                                                +26|                                                                +27|                                                                +28|-- TERMINAL --                                1,3           All ++--|---------|---------|---------|---------|---------|---------|----+01|0000000000000000000000000000000000000000000000000000000000000000+02|1111111111111111111111111111111111111111111111111111111111111111+03|1111111222222222222222222222222222333222222222222222222222111111+04|1111111245222222222222222222222222222222222226666666666622111111+05|1111111277777777777777777777777777777777777777777777777722111111+06|1111111289::::::::::::::::::::::::::::::::::::::::::::::72111111+07|11111112;2222222222222222222222222222222222222222222222222111111+08|11111112;2222222222222222222222222222222222222222222222222111111+09|11111112;2222222222222222222222222222222222222222222222222111111+10|11111112;2222222222222222222222222222222222222222222222222111111+11|11111112;2222222222222222222222222222222222222222222222222111111+12|11111112;2222222222222222222222222222222222222222222222222111111+13|11111112;2222222222222222222222222222222222222222222222222111111+14|1111111222222222222222222222222222222222222222222222222222111111+15|1111111222222222222222222222222222222222222222222222222222111111+16|11111112<<<<=============================================>111111+17|11111112<<<<=============================================2111111+18|11111112<<<<???????222222222222222222222222222222222222222111111+19|11111112<<<<=========2222222222222222222222222222222222222111111+20|11111112<<<<2222222222222222222222222222222222222222222222111111+21|11111112<<<<====================22222222222222222222222222111111+22|1111111222222222222222222222222222222222222222222222222222111111+23|1111111111111111111111111111111111111111111111111111111111111111+24|@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@+25|0000000000000000000000000000000000000000000000000000000000000000+26|0000000000000000000000000000000000000000000000000000000000000000+27|0000000000000000000000000000000000000000000000000000000000000000+28|AAAAAAAAAAAAAABBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB