Folke Lemaitre
17a3c3acea
perf: more cache optims
2023-02-14 11:00:56 +01:00
Folke Lemaitre
6351a2e8f3
refactor: Cache.stats -> Cache.stats.find
2023-02-13 17:24:15 +01:00
Folke Lemaitre
462633bae1
perf: new file-based cache that ensures correct rtp order ( #532 )
...
* perf: new file-based cache that ensures rtp is alweays correct and will cache all files, including those after startup
* refactor: new cache
* test: fix tests
* fix(cache): cache file names on Windows
* feat(cache): allow to disable the cache
* docs: updated cache settings
2023-02-13 12:01:56 +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
Hans Chen
27ca918bc3
fix(render): get profile_{sort,filter} key bindings from ViewConfig ( #416 )
2023-01-17 22:03:23 +01:00
hgigas
7b78ce3332
feat(commands): allow commands like `Lazy ... | ...` ( #377 )
...
Set bar attribute:
```
-bar The command can be followed by a "|" and another command.
```
2023-01-13 09:05:13 +01:00
Folke Lemaitre
7b0d1a7866
fix(float): only clear diagnostics for valid buffers
2023-01-13 09:01:24 +01:00
Folke Lemaitre
b73312aa32
fix: use `vim.api.nvim_exec_autocmds` instead of `vim.cmd[[do]]` to prevent weird `vim.notify` behavior
2023-01-13 09:01:24 +01:00
Folke Lemaitre
a64623899d
fix(ui): possible error during initial install
2023-01-11 17:13:10 +01:00
Folke Lemaitre
3b44c3c14a
fix(ui): reset buf and win options on resize
2023-01-11 13:43:17 +01:00
Folke Lemaitre
5faadf6398
fix(ui): get_plugin should return when ui is not showing
2023-01-10 11:19:47 +01:00
Folke Lemaitre
e6ee0fa610
fix(ui): keymap for building a single plugin changed from `b` to `gb`. Fixes #358
2023-01-09 20:21:31 +01:00
Folke Lemaitre
a32e307981
fix(diffview): fixed parameter for showing single commit with DiffView. Fixes #304
2023-01-09 08:05:32 +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
eed1ef3c2d
feat(commands): `:Lazy! load` now skips `cond` checks when loading plugins. Fixes #330
2023-01-06 07:11:50 +01:00
Folke Lemaitre
e89e938991
refactor: split open_cmd in float_cmd and float_term
2023-01-05 17:36:01 +01:00
Folke Lemaitre
13af39b83e
refactor: easier to pass window options for floats
2023-01-05 17:01:56 +01:00
Folke Lemaitre
e61b334cee
fix(diff): make diffview work again. Fixes #304
2023-01-04 08:13:51 +01:00
Folke Lemaitre
299ffdfd53
feat(ui): added section with disabled plugins
2023-01-03 10:43:10 +01:00
Folke Lemaitre
e749e68b68
fix(ui): check if win is still valid
2023-01-03 09:13:11 +01:00
Folke Lemaitre
b5f4106892
fix(stats): more robust checks for native cputime
2023-01-03 09:12:51 +01:00
Folke Lemaitre
d992387912
perf: track some additional cputimes
2023-01-02 11:28:18 +01:00
Folke Lemaitre
919b7f5de3
feat(spec): added `import` to import other plugin modules
2023-01-02 09:44:28 +01:00
Folke Lemaitre
23c0587791
feat(commands): added build command to force rebuild of a plugin
2023-01-01 09:41:43 +01:00
Folke Lemaitre
205ce42cdc
fix(commands): fixed plugin completion for commands
2023-01-01 09:40:51 +01:00
Folke Lemaitre
0fadb5e1ce
feat(ui): when updating to a new version, show the version instead of the commit refs
2022-12-31 16:08:09 +01:00
Folke Lemaitre
34e2c78e06
feat(ui): show new version that is available instead of general message
2022-12-31 16:08:09 +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
5575d2b2a9
feat(ui): show when plugin would be loaded for unloaded plugins. Fixes #261
2022-12-31 08:51:09 +01:00
Folke Lemaitre
45d669f61c
fix(ui): only show plugins to clean under clean
2022-12-30 21:23:12 +01:00
Folke Lemaitre
86dff1b59a
feat(commands): added health command to run `:checkhealth lazy`
2022-12-30 11:29:22 +01:00
Folke Lemaitre
2a617a7024
feat(api): allow passing options to float so it can be used outside of lazy
2022-12-30 10:43:46 +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
Folke Lemaitre
c2f7e2d098
feat(ui): added extra cache stats to the debug tab
2022-12-28 17:58:24 +01:00
tzachar
acd6697d88
fix(commands): E5108 in getcompletions ( #207 )
2022-12-28 17:39:31 +01:00
Dr. David A. Kunz
ff8f3783fa
feat(profile): nicer threshold prompt ( #210 )
2022-12-28 17:38:08 +01:00
Folke Lemaitre
0d0d11acb2
fix(ui): removed newlines from profile tab
2022-12-27 19:50:11 +01:00
Folke Lemaitre
3b46160c01
feat(ui): added new section specifically for updates
2022-12-27 19:35:23 +01:00
Folke Lemaitre
a2fdf369f2
feat(profile): added accurate startuptime to ui/stats/docs
2022-12-27 13:34:12 +01:00
Folke Lemaitre
9a2ecc8750
feat(ui): re-render after resize. Fixes #174
2022-12-26 14:19:39 +01:00
Folke Lemaitre
0ea771bd70
feat(ui): made all highlight groups and icons configurable
2022-12-26 10:24:53 +01:00
Folke Lemaitre
5f017bf655
docs: document highlight groups
2022-12-26 09:37:31 +01:00
Folke Lemaitre
aed842ae1e
feat(plugin): added `Plugin.cond`. Fixes #89 , #168
2022-12-26 09:37:30 +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
max397574
8ea9d8b024
feat(ui): make lazy icon configurable ( #163 )
...
* feat(ui): make lazy icon configurable
* docs: add lazy icon config option
2022-12-25 13:41:33 +01:00
Folke Lemaitre
3352fc6265
docs: added diff keybindings to help page
2022-12-24 11:41:06 +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
7d02da2ff0
feat(ui): added multiple options for diff command
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
Aaron
5a1812a633
Better terminology ( #132 )
2022-12-23 14:58:11 +01:00
Folke Lemaitre
50e3b91767
fix(ui): sort profiling chronological by default
2022-12-23 11:47:05 +01:00
Folke Lemaitre
e973323e95
fix(ui): fixed extmarks while wrapping. Fixes #124
2022-12-23 11:18:32 +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
Folke Lemaitre
cd023dc709
style: remove setting colors on startup
2022-12-23 08:41:42 +01:00
Folke Lemaitre
e2bbf3deef
refactor: better annotations to make sumneko faster
2022-12-23 08:34:55 +01:00
Folke Lemaitre
65e903652b
fix: added error message to debug failing extmarks #117
2022-12-23 08:05:32 +01:00
Sebastian Lyng Johansen
9e983898b1
fix(ui): fix buffer being properly deleted ( #112 )
2022-12-22 22:01:01 +01:00
Folke Lemaitre
42f5aa76e2
fix: pass plugins instead of plugin names to command. Fixes #103
2022-12-22 17:25:12 +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
1c07ea15a3
feat(keys): more advanced options for setting lazy key mappings
2022-12-22 10:32:21 +01:00
Folke Lemaitre
63042310f4
feat(ui): show modpaths in debug
2022-12-22 09:09:35 +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
232232da5a
fix(ui): install command can have plugins as a parameter
2022-12-21 11:18:41 +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
06ac8bda66
perf(ui): clear existing extmarks before rendering
2022-12-20 20:53:00 +01:00
Folke Lemaitre
ffcd0ab7bb
fix(loader): source filetype.lua before plugins. Fixes #35
2022-12-20 20:32:37 +01:00
Folke Lemaitre
941df31a41
feat(ui): make the windoww size configurable. Fixes #34
2022-12-20 19:29:28 +01:00
Folke Lemaitre
bb1c2f4c3e
feat: added support for Windows
2022-12-20 07:19:55 +01:00
Folke Lemaitre
1baa92f8ca
docs: added docs on `<cr>` and `<K>`
2022-12-19 21:05:22 +01:00
Folke Lemaitre
5ed9855d1c
feat: added completion for all lazy commands
2022-12-19 15:22:47 +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
d4aee2715f
feat!: removed the LazyUpdate etc commands. sub-commands only from now on
2022-12-19 10:11:21 +01:00
Folke Lemaitre
c87673c4b9
feat(ui): added help for <CR> on a plugin
2022-12-18 14:51:39 +01:00
Folke Lemaitre
968fa3fe20
style: removed bold from home button
2022-12-18 14:47:12 +01:00
Folke Lemaitre
1730661ec2
docs: generate docs for commands
2022-12-18 11:42:54 +01:00
Folke Lemaitre
f25f942eb7
feat: expose all commands on main lazy module
2022-12-18 11:42:27 +01:00
Folke Lemaitre
0b4a04de7d
feat(ui): make home bold
2022-12-17 17:36:09 +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
85e375223f
fix(ui): always clear complete tasks with the same name when starting a new task
2022-12-17 15:56:47 +01:00
Folke Lemaitre
6f728e698d
fix(ui): show first tag for each help doc in details
2022-12-17 12:52:30 +01:00
Folke Lemaitre
97366711be
feat(ui): added dir to props
2022-12-17 12:52:30 +01:00
Folke Lemaitre
ecf03a6892
refactor: simplified handler code
2022-12-16 12:53:08 +01:00
Folke Lemaitre
ad0b4caa64
feat(ui): show `updates available` diagnostic when an update is available
2022-12-14 16:07:53 +01:00
Folke Lemaitre
4cfe0b5315
refactor: `Plugin.uri` => `Plugin.url`
2022-12-13 10:10:17 +01:00
Folke Lemaitre
be509c01f9
perf: added profiling for sourcing of runtime files
2022-12-05 23:14:04 +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
3f517abfa4
feat: cleanup keys/cmd handlers when loading a plugin
2022-12-03 23:42:05 +01:00
Folke Lemaitre
13b5688487
feat(ui): show any helps files and added hover handler
2022-12-03 21:07:11 +01:00
Folke Lemaitre
6e44be0f2d
fix(ui): always show branch name in details
2022-12-03 21:06:50 +01:00