Commit Graph

39 Commits

Author SHA1 Message Date
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
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
Tristan Knight 2fcbcaf07a
fix(reload): strings in lua reload (#1439) 2024-05-12 09:50:06 +02:00
Folke Lemaitre 22bf6ae04b
style: sort requires 2023-10-09 11:25:42 +02:00
Folke Lemaitre f0cfbf9952
perf: lazy require commands 2023-10-08 20:22:04 +02:00
Folke Lemaitre a6c8f22362
feat(commands): added highly experimental `Lazy reload ...` command. See #445 2023-05-27 15:19:55 +02:00
tzachar f125a7d333
fix(commands): completion error (#819)
When Lazy commands are searched in command line mode, completion fails
horribly (sometime crashing nvim entirely) when the partial string to
complete contains non-escape characters.
For example, running `:Lazy up[` results in a crash.

The fix is to instruct string.find to perform a literal search, treating
the string to search not as a regular expression.
2023-05-23 08:43:27 +02:00
Folke Lemaitre 11131eafa1
feat(cmd): added `Lazy load all` to load all plugins 2023-05-18 19:51:18 +02: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 eed1ef3c2d
feat(commands): `:Lazy! load` now skips `cond` checks when loading plugins. Fixes #330 2023-01-06 07:11:50 +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 86dff1b59a
feat(commands): added health command to run `:checkhealth lazy` 2022-12-30 11:29:22 +01:00
tzachar acd6697d88
fix(commands): E5108 in getcompletions (#207) 2022-12-28 17:39:31 +01:00
Folke Lemaitre 83270cc5e5
refactor(commands): move ui/commands config to separate file 2022-12-23 20:55:56 +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 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 232232da5a
fix(ui): install command can have plugins as a parameter 2022-12-21 11:18:41 +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 d4aee2715f
feat!: removed the LazyUpdate etc commands. sub-commands only from now on 2022-12-19 10:11:21 +01:00
Folke Lemaitre f25f942eb7
feat: expose all commands on main lazy module 2022-12-18 11:42:27 +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 6d68cc6ea2
feat(ui): added debug interface to inspect active handlers and the module cache 2022-12-05 14:47:30 +01:00
Folke Lemaitre a87b6e1005
style: cleanup 2022-11-30 23:15:26 +01:00
Folke Lemaitre 20ff5fa218
feat: added profiler view 2022-11-29 12:02:38 +01:00
Folke Lemaitre 08b7e42fb0
feat: added keybindings to update/install/clean/restore/... single plugins 2022-11-29 10:56:17 +01:00
Folke Lemaitre 0db98bf053
feat(view): modes and help 2022-11-29 10:30:14 +01:00
Folke Lemaitre 63cf2a52bd
feat: added "Lazy check" to check for updates without updating 2022-11-29 08:23:23 +01:00
Folke Lemaitre 88a12027af
refactor: renamed reset -> restore: update to state of lockfile 2022-11-29 08:06:10 +01:00
Folke Lemaitre 4384d0e6d9
feat: added lockfile support 2022-11-29 00:15:13 +01:00
Folke Lemaitre 93a3a6ccb5
fix: manage opts show => interactive 2022-11-28 13:11:41 +01:00
Folke Lemaitre 6dc45ada55
refactor: moved manage functionality to its own module 2022-11-27 11:02:28 +01:00
Folke Lemaitre 2507fd5790
perf: tons of performance improvements. Lazy should now load in about 1.5ms for 97 plugins 2022-11-24 22:05:18 +01:00
Folke Lemaitre a11fc5a0e0
feat: a gazilion rendering improvements 2022-11-23 16:12:02 +01:00
Folke Lemaitre 3218c2d9ec
feat: git log 2022-11-22 21:12:50 +01:00
Folke Lemaitre ae0b87181d
feat: lazy commands 2022-11-20 23:25:28 +01:00