Commit Graph

226 Commits

Author SHA1 Message Date
Chris Grieser 717f5c5899
Merge 67eaa0689c into b1134ab82e 2024-11-04 20:19:52 +02:00
Luna Saphie Mittelbach e9fd76e239
fix(completion): check if command string is a prefix of Lazy (#1760)
Problem: Command completion doesn't work if the command name isn't
written in full

Solution: Use vim.startswith to check if the command is a prefix of
'Lazy'

Fixes #1758
2024-10-02 09:52:51 +02:00
Chris Grieser 67eaa0689c
fix: prevent changing buffer in lazy window
Adds the new `winfixbuf` to the window options of the lazy window. This makes the buffer "sticky", preventing accidentally switching to another buffer while in that window, e.g. via `:edit`. See the PR at nvim core https://github.com/neovim/neovim/issues/12517

`winfixbuf` is only available on newer nvim versions, so adding the option is wrapped in a condition checking whether it is supported.
2024-09-19 16:36:40 +02:00
Folke Lemaitre 6ca90a2120
feat(ui): added mapping descriptions 2024-07-18 00:40:42 +02:00
Folke Lemaitre 1fad61712b
fix(async): make asyncs abortable 2024-06-30 13:35:14 +02:00
Folke Lemaitre 5e3c112cb3
feat(ui): use [[ & ]] to navigate between plugins. Fixes #1463 2024-06-29 14:23:31 +02:00
Folke Lemaitre 3772914075
fix(ui): when closing details, jump to plugin header. Closes #1338 2024-06-29 14:23:31 +02:00
Folke Lemaitre 5d334b9f57
fix(ui): save/restore view right before/after rendering 2024-06-29 13:58:13 +02:00
Folke Lemaitre a36ebd2a75
refactor: async processes 2024-06-28 16:08:26 +02:00
Folke Lemaitre 79bcc02d17
ci: make simple test script 2024-06-27 12:48:50 +02:00
Folke Lemaitre e3e431480d
feat(ui): remap gx -> K. Fixes #1561 2024-06-27 12:38:47 +02:00
Folke Lemaitre 53f314d9e6
feat(ui): show indication of plugins that need build. See #1563 2024-06-27 11:31:20 +02:00
Folke Lemaitre 591ded8309
feat(ui): keep cursor position when rendering view 2024-06-26 22:45:21 +02:00
Folke Lemaitre 6c7ef7e27a
refactor: logging 2024-06-26 18:31:31 +02:00
Folke Lemaitre 36952153ec
perf(util): improve impl of throttle 2024-06-26 14:28:22 +02:00
Folke Lemaitre e79805d706
fix(ui): don't show output when it's the same as error 2024-06-26 07:15:12 +02:00
Folke Lemaitre 7d3f69104f
fix(rocks): better errors / warnings when something goes wrong with luarocks 2024-06-25 13:23:25 +02:00
Folke Lemaitre 656d3d1f5b
feat: show rockspec deps in plugin details 2024-06-24 18:02:54 +02:00
Folke Lemaitre fd8229d6e3 fix(pkg): versioning and reload specs when pkg-cache is dirty 2024-06-24 17:15:10 +02:00
Folke Lemaitre 3be55a4615 feat: added support for plugin packages by lazy, rockspec and packspec 2024-06-24 17:15:10 +02:00
Folke Lemaitre 8eba74c3fc feat: packspec 2024-06-24 17:15:10 +02:00
Anshuman Medhi b77aaa08cb
fix(ui): deduplicate plugins when selecting multiple (#1491) 2024-05-31 16:28:33 +02:00
Folke Lemaitre 917dfbe2a9
fix(view): backward compat for older Neovim versions. Fixes #1489 2024-05-31 13:55:54 +02:00
Christian Clason ea7b9c3c3f
fix(render): disable underline for diagnostics (#1478)
Problem: On current Nvim nightlies, a regression in a
`vim.highlight.range()` refactor makes underlines for diagnostics at end
of line extend into the next line, leading to visual artifacts in the
update view.

Solution: Suppress underlines for diagnostics, as they are not wanted
anyway.
2024-05-26 15:21:58 +02:00
Anshuman Medhi 7667a73dee
feat: single-plugin keys in the lazy view in visual mode (#1476)
Applies to all plugins contained in the range
2024-05-26 10:40:08 +02:00
Tristan Knight 2fcbcaf07a
fix(reload): strings in lua reload (#1439) 2024-05-12 09:50:06 +02:00
Folke Lemaitre 40845063a2
fix(ui): hover now opens repo url when no diff with main. Fixes #1430 2024-05-12 09:43:34 +02:00
Iordanis Petkakis 24234f47a2
fix(ui): add conditional `nvim_get_hl_by_name` for Neovim 0.8.0 (#1429) 2024-05-04 10:01:20 +02:00
Folke Lemaitre 31ddbea7c1
fix(ui): set backdrop filetype to `lazy_backdrop`. Fixes #1399 2024-03-29 20:28:47 +01:00
Folke Lemaitre 0ccf031227
fix(ui): disable backdrop when Neovim is transparent 2024-03-28 14:52:07 +01:00
Folke Lemaitre eefb8974d6
fix(ui): special handling for floats closed before VimEnter. Seems that WinClosed events dont execute before that. Fixes #1390 2024-03-27 08:48:55 +01:00
Folke Lemaitre d37a76b871
fix(ui): only enable backdrop when guicolors is set. Fixes #1387 2024-03-26 22:57:58 +01:00
Folke Lemaitre 79e2e85934
fix(ui): properly cleanup on `:quit`. Fixes #1385 2024-03-26 20:31:15 +01:00
Folke Lemaitre a6b74f30d5
feat(ui): backdrop for the lazy floating window. Can be disabled with `opts.ui.backdrop` 2024-03-26 19:52:19 +01:00
William Mathewson b6f7ef856b
fix(ui): Add "bot" to dimmed commands list (#1367)
nvim-treesitter has added a bot to automate updating parsers.
This feels similar to the other commands that are dimmed.
2024-03-22 09:18:36 +01:00
Riley Bruins 298bed190e
fix: update to new treesitter capture groups (#1294) 2024-03-07 17:34:29 +01:00
Wayne Wu d5c58bb193
fix(ui): remove a single space character from home title (#1309)
Align home pill title spacing with other pills
2024-03-07 17:32:52 +01:00
star-szr 7ded44ce2a
feat(ui): add style to dimmed commits (#1210) 2024-01-21 10:50:23 +01:00
Riley Bruins 3674036a59
fix(ui): properly highlight breaking change commit scope (#1160) 2023-11-04 11:05:02 +01:00
Maria José Solano 4446fdb9af
feat(ui): check pinned packages that can't be updated (#1139)
* style: fix filter types

* feat: check outdated pinned plugins
2023-10-23 07:52:54 +02:00
Folke Lemaitre 7613ab2abb
fix(ui): running tasks are now less twitchy 2023-10-17 10:30:23 +02:00
Folke Lemaitre fb9795e49f
fix(ui): fixed keymaps in debug view 2023-10-17 00:29:13 +02:00
Folke Lemaitre 2f169e74d4
refactor(handlers): lazy resolving of plugin handlers (#1126)
* refactor(handlers): lazy resolving of plugin handlers

* test: fixed tests
2023-10-16 22:34:44 +02:00
Folke Lemaitre 1cfd6d1f36
fix(loader): don't load handlers before installing plugins 2023-10-16 15:05:16 +02:00
Folke Lemaitre ad5da0ae20
fix(ui): sort lazy plugin handlers 2023-10-14 16:00:30 +02:00
Folke Lemaitre 3769461194
fix(float): disable swapfile for files shown in Float 2023-10-13 11:37:38 +02:00
Maria José Solano 43c284a578
feat(keys): include custom keys in help menu (#1105) 2023-10-12 07:18:53 +02:00
Folke Lemaitre 99ee284739
fix(ui): use actual handler values for rendering plugin handlers 2023-10-11 14:25:12 +02:00
Folke Lemaitre 423a152e94
feat(profiling): added options to enable additional profiling 2023-10-09 12:38:43 +02:00
Folke Lemaitre 22bf6ae04b
style: sort requires 2023-10-09 11:25:42 +02:00