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
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
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
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
Maria José Solano
43c284a578
feat(keys): include custom keys in help menu ( #1105 )
2023-10-12 07:18:53 +02:00
Folke Lemaitre
22bf6ae04b
style: sort requires
2023-10-09 11:25:42 +02:00
Maria José Solano
0e1d264ab6
fix: return true when opening diff ( #970 )
2023-09-27 12:51:11 +02:00
Darkhan
4eb3e932e5
Make commit pattern more accurate ( #973 )
...
Sometimes when hovering over updated plugins and triggering `diff`
with `d` key, I get an empty `diff` view. I traced the problem to a very
generic `commit_pattern` which currently matches any alphanumeric sequence
of 7 characters surrounded by "word boundary" / frontier patterns.
I adjusted the regex to match only `[a-z0-9] * 7` which should make this
issue appear less. I am keeping the older frontier sets `%f[%w]` and `%f[%W]`
because if I switch to `%f[a-f0-9]` and `%f[^0-9a-f]` I will be matching
strings like `zzz1234567xxx`.
2023-08-26 16:47:18 +02:00
Folke Lemaitre
7f4da7d511
fix(ui): set wo options with local. don't use `vim.wo`. See #829
2023-06-12 08:28:14 +02:00
Folke Lemaitre
dbb2b609f6
fix(ui): setup colors when loading a float
2023-06-03 14:40:17 +02:00
Folke Lemaitre
94472b8303
feat(float): floats can now be persistent
2023-06-03 10:45:53 +02:00
Folke Lemaitre
9dce0816f1
feat(ui): added support for setting a title of the lazy window. Fixes #814
2023-05-27 14:28:09 +02:00
Folke Lemaitre
cc7a764aec
fix(ui): close ui when opening a help file. Fixes #808
2023-05-20 09:26:23 +02:00
Folke Lemaitre
5cfe1560c5
fix(ui): return abort key instead of `<c-c>`
2023-02-17 13:41:21 +01:00
Folke Lemaitre
d6fc848067
feat: added `config.ui.wrap` and improved wrapping when wrap=true. Fixes #422
2023-01-19 08:45:27 +01:00
Brian Koropoff
05b55deb16
fix(config): Don't cache check for attached UIs ( #340 )
...
UIs can attach and detach from headless nvim dynamically
(indeed, this is one of its use cases).
2023-01-07 09:01:45 +01:00
Folke Lemaitre
13af39b83e
refactor: easier to pass window options for floats
2023-01-05 17:01:56 +01:00
Folke Lemaitre
e749e68b68
fix(ui): check if win is still valid
2023-01-03 09:13:11 +01:00
Folke Lemaitre
d6b5d6e756
feat(ui): press `<c-c>` to abort any running tasks. Fixes #258
2022-12-31 10:38:03 +01:00
Folke Lemaitre
1283c2b288
feat(restore): you can now restore a plugin to a certain commit. Fixes #234
2022-12-30 09:17:53 +01:00
Dr. David A. Kunz
ff8f3783fa
feat(profile): nicer threshold prompt ( #210 )
2022-12-28 17:38:08 +01:00
Folke Lemaitre
9a2ecc8750
feat(ui): re-render after resize. Fixes #174
2022-12-26 14:19:39 +01:00
Folke Lemaitre
2f5c1be525
fix(ui): get plugin details from the correct plugin in case it was deleted
2022-12-26 09:37:30 +01:00
Folke Lemaitre
e632eb4ae0
style: mode no longer needed as param for view
2022-12-25 13:46:42 +01:00
jdrouhard
037f242430
fix(diff): use git show when only displaying one commit ( #155 )
2022-12-25 13:45:56 +01:00
Folke Lemaitre
be3909c544
feat(ui): added custom commands for lazygit and opening a terminal for a plugin
2022-12-24 11:30:16 +01:00
Folke Lemaitre
b34e25873a
refactor: float is now a separate module
2022-12-24 11:30:16 +01:00
Folke Lemaitre
593d6e400b
feat(ui): you can now hover over a plugin to open a diff of updates or the plugin homepage
2022-12-24 11:30:15 +01:00
Folke Lemaitre
83270cc5e5
refactor(commands): move ui/commands config to separate file
2022-12-23 20:55:56 +01:00
Folke Lemaitre
50e3b91767
fix(ui): sort profiling chronological by default
2022-12-23 11:47:05 +01:00
Folke Lemaitre
7dfb9c1f5c
feat(ui): added options to sort/filter profiling data
2022-12-23 10:43:22 +01:00
Folke Lemaitre
fde5feea6d
refactor: refactored ui code
2022-12-23 10:18:19 +01:00
Sebastian Lyng Johansen
9e983898b1
fix(ui): fix buffer being properly deleted ( #112 )
2022-12-22 22:01:01 +01:00
Folke Lemaitre
3415a61789
fix(ui): properly wrap ui elements on small screens. Fixes #92
2022-12-22 10:45:45 +01:00
Folke Lemaitre
2e14a2f324
feat: added support for `nvim --headless "+Lazy! sync" +qa`
2022-12-21 22:28:09 +01:00
Folke Lemaitre
bc617474a0
feat!: lazy api commands now take an opts table instead of a list of plugins
2022-12-21 22:27:36 +01:00
Folke Lemaitre
f0e1b853a0
feat: make hover easy to override
2022-12-21 19:04:08 +01:00
Folke Lemaitre
3814883aaa
fix(ui): set current win only when its valid
2022-12-21 08:33:10 +01:00
Dan Sully
897d6df5ac
fix: add filetype to window buffer. ( #41 )
...
Add a filetype to the Lazy window buffer, which allows plugins like codewindow to ignore it.
2022-12-20 21:23:00 +01:00
Folke Lemaitre
941df31a41
feat(ui): make the windoww size configurable. Fixes #34
2022-12-20 19:29:28 +01:00
Folke Lemaitre
2dd6230018
feat: added `:Lazy load foobar.nvim` to load a plugin
2022-12-19 14:22:43 +01:00
Folke Lemaitre
1fe43f3e29
fix(ui): focus Lazy window when auto-installing plugins in `VimEnter`
2022-12-19 12:20:02 +01:00
Folke Lemaitre
1730661ec2
docs: generate docs for commands
2022-12-18 11:42:54 +01:00
Folke Lemaitre
9026a0e25d
feat(ui): made it look a little less like a Mason rip-off :)
2022-12-17 15:56:47 +01:00
Folke Lemaitre
4cfe0b5315
refactor: `Plugin.uri` => `Plugin.url`
2022-12-13 10:10:17 +01:00
Folke Lemaitre
08d081f21d
fix(ui): open with noautocmd=true and close with vim.schedule to prevent weird errors by other plugins
2022-12-05 22:33:33 +01:00
Folke Lemaitre
65cd28e613
feat(ui): added update checker
2022-12-05 20:49:23 +01:00
Folke Lemaitre
6d68cc6ea2
feat(ui): added debug interface to inspect active handlers and the module cache
2022-12-05 14:47:30 +01:00
Folke Lemaitre
13b5688487
feat(ui): show any helps files and added hover handler
2022-12-03 21:07:11 +01:00