Commit Graph

808 Commits

Author SHA1 Message Date
Folke Lemaitre 0ba218a065
feat: `Plugin.local` to use a local project instead of fetching remote 2022-12-02 19:17:38 +01:00
Folke Lemaitre afcba52b1a
fix: return nil when `fs_stat` fails and return nil in module loader 2022-12-02 19:16:21 +01:00
Folke Lemaitre 756b4849d9
refactor: Plugin.dep => Plugin._.dep 2022-12-02 17:09:40 +01:00
Folke Lemaitre 330dbe7203
feat: `Plugin.specs()` can now reload and keeps existing state 2022-12-02 17:02:25 +01:00
Folke Lemaitre ebf15fc198
feat: for `event=`, fire any new autocmds created by loading the plugins for the event 2022-12-02 17:01:05 +01:00
Folke Lemaitre e4cf8b1416
feat: added debug option 2022-12-02 16:52:22 +01:00
Folke Lemaitre fe6b0b03ea
feat: moved Config.package.reset -> Config.performance.reset_packpath 2022-12-02 12:52:06 +01:00
Folke Lemaitre 6fe425c91a
perf: caching strategy is now configurable 2022-12-02 12:43:34 +01:00
Folke Lemaitre ae379a62dc
fix(git): fixed branch detection, get target commit from origin and always checkout a tag or commit so we dont need to use git merge 2022-12-02 11:26:07 +01:00
Folke Lemaitre 3e143c6017
fix(fs): dont set cloned=true if symlink already existed 2022-12-02 11:24:23 +01:00
Folke Lemaitre 59fb050767
fix: respect --noplugin 2022-12-02 10:02:41 +01:00
github-actions[bot] 60e8a01b94 chore(main): release 2.0.0 2022-12-02 09:27:54 +01:00
github-actions[bot] d04962b231 chore(build): auto-generate vimdoc 2022-12-02 08:26:19 +00:00
Folke Lemaitre b0091d40e3
docs: updated todo 2022-12-02 09:25:30 +01:00
Folke Lemaitre 45e18c977d
test: fix tests with `module=` 2022-12-02 09:25:30 +01:00
Folke Lemaitre 98ccf556d8
fix(ui): use Plugin.find to detect loading reason 2022-12-02 09:25:30 +01:00
Folke Lemaitre 575421b3fb
feat!: plugins are now autmatically loaded on require. `module=` no longer needed! 2022-12-02 09:25:30 +01:00
Folke Lemaitre 0b6dec46e0
perf: module now caches all lua modules used till VimEnter 2022-12-02 09:25:30 +01:00
Folke Lemaitre 723274efee
feat(ui): better detection of plugins/config files that loaded a plugin 2022-12-02 09:25:30 +01:00
Folke Lemaitre e22e8e4506
style: added more comments to init 2022-12-02 09:25:30 +01:00
Folke Lemaitre ac9e5401dc
test: test XDG paths for tests and added a test that checks if they are setup correctly 2022-12-02 09:25:30 +01:00
Folke Lemaitre d46bc7795c
fix: always overwrite any plugin spec for lazy.nvim to manage itself 2022-12-02 09:25:30 +01:00
Folke Lemaitre 714bc0a136
feat(ui): improvements to profiling and rendering of loaded reasons 2022-12-02 09:25:30 +01:00
Folke Lemaitre 5eb2622a4e
fix: prepend package path to packpath if package.reset=false 2022-12-02 09:25:30 +01:00
Folke Lemaitre 041a716f4e
feat: show module source if loading source is under config 2022-12-02 09:25:30 +01:00
github-actions[bot] 64af691be3 chore(build): auto-generate vimdoc 2022-12-01 12:34:59 +00:00
Folke Lemaitre af8b8e128e
feat: lazy setup with either a plugins module, or a plugins spec 2022-12-01 13:34:01 +01:00
github-actions[bot] f0894be69d chore(build): auto-generate vimdoc 2022-12-01 10:33:48 +00:00
Folke Lemaitre 0dbf72f67e
docs: opt => lazy 2022-12-01 11:32:52 +01:00
Folke Lemaitre 4653119625
perf: reset packpath to only include the lazy package. Improved my startup time by 2ms 2022-12-01 11:23:39 +01:00
Folke Lemaitre 5134e797f3
feat!: all plugins are now opt. Plugin.opt => Plugin.lazy 2022-12-01 11:23:39 +01:00
Folke Lemaitre 5e0662727d
style: fixed some selene errors/warnings 2022-12-01 11:23:39 +01:00
Folke Lemaitre 44b6e54dcb
build: added selene 2022-12-01 11:23:39 +01:00
github-actions[bot] 2d676b35d2 chore(build): auto-generate vimdoc 2022-12-01 06:44:31 +00:00
Folke Lemaitre 042aaa4f87
feat!: renamed Plugin.run => Plugin.build 2022-12-01 07:43:34 +01:00
github-actions[bot] ec4199bada chore(main): release 1.2.0 2022-11-30 23:45:53 +01:00
Folke Lemaitre c1a05a5f9b
test: process config timeout can be nil 2022-11-30 23:44:10 +01:00
Folke Lemaitre bd2d64230f
feat: added config option for process timeout 2022-11-30 23:38:52 +01:00
github-actions[bot] f2072f0158 chore(build): auto-generate vimdoc 2022-11-30 22:16:15 +00:00
Folke Lemaitre 2eb11b1f69
docs: todo 2022-11-30 23:15:26 +01:00
Folke Lemaitre b2339ade84
feat: config option for runner concurrency 2022-11-30 23:15:26 +01:00
Folke Lemaitre a87b6e1005
style: cleanup 2022-11-30 23:15:26 +01:00
Folke Lemaitre a197f751f9
feat: config option for ui throttle 2022-11-30 23:15:26 +01:00
Folke Lemaitre 0cff878b2e
feat: config for ui border 2022-11-30 23:15:26 +01:00
Folke Lemaitre fb96183753
feat: allow config of default for version field 2022-11-30 23:15:26 +01:00
Folke Lemaitre 334f32e595
refactor: renamed Config.opt => Config.defaults.opt 2022-11-30 23:15:26 +01:00
Folke Lemaitre 5d81c5062b
refactor: renamed plugins_local to dev 2022-11-30 23:15:26 +01:00
Folke Lemaitre 47f5c124aa
config: removed interactive option. not needed 2022-11-30 23:15:26 +01:00
Folke Lemaitre 0369278159
fix: update state after running operation so the ui reflects any changes from cleaning 2022-11-30 23:15:26 +01:00
Folke Lemaitre 1e2f5273bb
fix: show proper installed/clean state for local plugins 2022-11-30 23:15:26 +01:00