Commit graph

35 commits

Author SHA1 Message Date
LostNeophyte
3b16c266d7
fix(bootstrap): delay lsp setup until LazyDone (#4041) 2023-04-15 13:46:06 +02:00
erodey
3f2e91b667
feat(lazy): lazy.nvim settings can be customized (#4010) 2023-04-12 04:29:11 -04:00
opalmay
2b1af90a97
fix: lazy cache (#3892)
* fix: lazy cache

* refactor: add pcall
2023-02-24 17:07:55 +02:00
github-actions[bot]
f43cc8e20b
refactor(lsp)!: lua lsp renamed (#3836)
Need to run `:LvimCacheReset` after this for lua ftplugin regenration

* chore: bump plugins version

* refactor(loader): update lazy's cache setup

* chore: bump plugins version

* chore(lsp): skip antlerls for html

* fix(lsp): lua lsp renamed (#3841)

* fix(loader): lazy's cache is now a directory

* fix: LvimUpdate should bump core plugins (#3846)

* chore: bump plugins version

* fix(cmp): handle deprecated tree-sitter api (#3853)

* fix(loader): wrap cache invocation with pcall

avoid problems when lazy hasn't been updated yet

* chore(lsp): skip docker-compose ls

* chore: bump plugins

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
Co-authored-by: Jieru Mei <meijieru@gmail.com>
Co-authored-by: LostNeophyte <lostneophyte@tuta.io>
2023-02-17 18:05:08 +02:00
LostNeophyte
bcafab8b14
fix(plugin-loader): support older git versions (#3769) 2023-02-04 16:46:25 +01:00
LostNeophyte
60c7ad77fd
perf: lazy load most plugins (#3750)
* perf: lazy load most plugins

* fix(lazy): suggested fixes for pref/lazyloading branch (#3754)

fix(lazy): Suggested fixes from previous comments

fix(lazy): applying suggestions from code review

Co-authored-by: LostNeophyte <lostneophyte@tuta.io>

Co-authored-by: Pratyush Bharati <pbharati@Pratyushs-MacBook-Pro.local>
Co-authored-by: LostNeophyte <lostneophyte@tuta.io>

* chore: format

* move lazy utils to modules.lua

* simplify telescope actions

* refactor: cmp_window local name

* feat: more lazy loading cmds

* refactor(cmp): minor clean up

* perf: set lazy loading by default

* refactor(alpha): remove broken lazy load

* revert: explictily set lazy loading

This reverts commit ba38193e4e.

* test: enable lazy-loading for bigfile

* perf: defer projects and alpha to VimEnter

* refactor(bufferline): add comment

* perf: better lazy load dap/dapui

* perf: lazy load ts-commentstring with Comment.nvim pre_hook

---------

Co-authored-by: pr-313 <46706232+pr-313@users.noreply.github.com>
Co-authored-by: Pratyush Bharati <pbharati@Pratyushs-MacBook-Pro.local>
Co-authored-by: opalmay <opal.mizrahi2@gmail.com>
Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2023-02-04 17:22:41 +02:00
LostNeophyte
edc5e0e93f
fix(plugin-loader): don't clean plugins on LvimUpdate (#3747) 2023-01-18 08:40:52 +01:00
LostNeophyte
1162b72757
fix(plugin-loader): don't clean lazy.nvim in sync_core_plugins (#3731) 2023-01-17 16:35:24 +01:00
LostNeophyte
ccb80e41ee
refactor: migrate to lazy.nvim (#3647)
* refactor: convert plugins spec to lazy

* refactor(lazy): remove impatient

* fix(telescope): no more errors if theme is nil

* refactor(lazy): use lazy in plugin_loader

* refactor(lazy): pin plugins with packer's snapshot

* fix: add plugins to rtp before config:init

* fix: fs_stat nil check

* feat: lazy cache

* feat(lazy): reloading

* refactor(lazy): plugin-loader functions

* feat(lazy): cache reset

* refactor: set runtimepath manually

* fix: runtimepath

* refactor(rtp)

* refactor(lazy): packer -> lazy in various places

* fix(lazy): disable tree-sitter ensure installed

* refactor(lazy): restore order to bootstrap

* refactor(lazy): remove unused impatient profiler

* small fixes

* `lvim.plugins` deprecation handling

* fix: deprecation of `requires` in plugin specs

* feat: core plugins pinning

* refactor(lazy): plugin loader tests

* refactor(lazy): use lazy in scripts

* refactor(lazy): which-key keybinds

* chore: format

* fix: installer

* fix: first time setup

* feat: changes required for packaging

commit 951ac2b7c01b5200b973660c967852d1706cce28
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:49:44 2022 +0100

    fix: clean folder before copying plugins

commit 64e9afa44b8e528ba527e0510d0d8c2d2237a095
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:35:41 2022 +0100

    feat: copy core plugins on first run

commit 2d8e72090c7624f68c09a9aa6582223373a810c1
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:11:22 2022 +0100

    feat(utils): fs_copy

commit 85c1f025a6ba13183e85141f75f60e2eefc77bb5
Author: LostNeophyte <lostneophyte@tuta.io>
Date:   Wed Dec 28 13:04:38 2022 +0100

    fix: copy correct example config

* fix: packer specs deprecation handling

* fix: plugin specs deprecation

* feat: pin lazy's version

* fix: remove plugins form rtp before loading lazy

* fix: plugin-loader test

* feat(lazy): add keymappings for profile, log, and debug (#3665)

* feat(lazy): Add keymappings for profile, log, and debug

* feat(lazy): Add keymap for cleaning

* chore: format

* pref: lazy load many plugins

Co-authored-by: Uzair Aftab <uzaaft@outlook.com>

* fix: bootstrap correct version of lazy

* fix: also use CmdLineEnter event for cmp

* fix: don't use lazy's modules before it's set up

* perf: (hack) enable lazy's cache before loading lazy

* fix: plugins.lua

* fix: plugins bump script

* chore: remove debug print

* feat: add rounded border for `:Lazy`

* fix: bufferline flashing

* fix: don't close lazy on startup

* fix: load breadcrumbs on startup

* fix: don't lazy load bufferline

* chore: bump lazy's version

* fix: remove site from rtp (fixes treesitter issues)

* revert default config copying changes

* fix(bootstrap): actually remove plugins dir on windows

* chore: bump lazy's version

* chore: bump lazy's version

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
Co-authored-by: Uzair Aftab <48220549+Uzaaft@users.noreply.github.com>
Co-authored-by: Uzair Aftab <uzaaft@outlook.com>
Co-authored-by: opalmay <opal.mizrahi2@gmail.com>
2023-01-10 21:18:17 +01:00
LostNeophyte
5fb3f07c7b
fix(packer): increase clone timeout in headless (#3470)
* fix(packer): increase clone timeout in headless

* refactor: set timeout to 300

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>

Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com>
2022-11-13 17:40:16 +01:00
kylo252
153593ff51
fix(config): more comprehensive cache reset (#3416) 2022-11-04 09:53:57 -04:00
Christian Chiarulli
531ddb459e
fix: rollback plugin loader changes (#3402) 2022-11-02 18:09:35 -04:00
kylo252
325bf72f93
refactor(hooks): use colorscheme event after reload (#3375) 2022-11-01 10:22:20 -04:00
kylo252
74ad56ff68
refactor(installer): skip unstable headless update (#3338) 2022-10-31 16:27:12 +01:00
Christian Chiarulli
34d445a052 fix(plugins): set max jobs to 50 on mac 2022-10-10 00:52:51 -04:00
CPea
8763ed2878
feat: warn user when setting un-installed colorscheme (#2982) 2022-10-08 22:50:25 +00:00
Daniel Rodríguez Rivero
a77fcf6e90
refactor: smaller timeout for packer (#2910) 2022-10-01 08:11:18 +02:00
Christian Chiarulli
a331ef711b
feat: add lir.nvim again (#3038) 2022-09-19 11:44:04 -04:00
Kai
48320e5f88
fix(packer): add max_jobs = 40 (#2781)
fixing :PackerSync on large config from being stuck while syncing
2022-07-06 15:18:25 +02:00
kylo252
cfa702e6fe
refactor: use api-autocmds for lsp functions (#2549)
* refactor: use api-autocmds for lsp functions

* chore: use the existing client.supports_method api

* fix: a callback in an autocmd doesn't pass nil

* revert: keep changes minimal to which-key

Co-authored-by: Abouzar Parvan <abzcoding@users.noreply.github.com>
2022-05-03 03:40:51 +04:30
kylo252
a68c1cfbf5
revert: do not run packer.sync() on every reload (#2548)
* revert: do not run packer.sync() on every reload

* chore: update which-key mappings for logs
2022-05-01 16:29:11 +02:00
kylo252
fa710f6ddd
refactor: re-enable packer.sync() in LvimReload (#2410) 2022-04-03 14:32:52 +02:00
Abouzar Parvan
9e13e1e4fe
fix(theme): make sure the new theme is fully loaded (#2392) 2022-03-25 17:09:06 +04:30
kylo252
08d3df2cd3
feat(plugins): add support for packer snapshots (#2351) 2022-03-24 16:16:38 +01:00
kylo252
c958e4b3ae
fix: automatically set colorscheme (#2370) 2022-03-20 14:17:08 +03:30
kylo252
1488deebc7
refactor: load onedarker theme externally (#2359) 2022-03-19 16:25:34 +03:30
kylo252
ec1e4140fa
fix(install): avoid data-races for on_packer_complete (#2157) 2022-01-10 09:54:47 +01:00
kylo252
307db8936b
feat: multiple enhancements to lvim-reload (#2054) 2021-12-09 17:08:53 +01:00
kylo252
fe95dffe41
fix: no restart required when changing colorscheme (#2026) 2021-12-03 18:56:31 +01:00
kylo252
24be0ef1ef
chore: bump core-plugins version (#1989) 2021-11-27 15:22:43 +01:00
Abouzar Parvan
cad6355929
fix: packersync issue when you have large number of plugins (#1922) 2021-11-16 11:05:17 +01:00
kylo252
32ca5afa4a
feat: better error handling for packer (#1883) 2021-11-02 16:58:55 +01:00
kylo252
61a2e0b191
fix: update which-key bindings for LvimReload (#1754) 2021-10-31 10:12:05 +01:00
kylo252
377cab434c feat: update now syncs the core plugins (#1865) 2021-10-30 14:39:00 +02:00
kylo252
52b7455741
feat: add an independent lvim namespace (#1699) 2021-10-10 21:07:41 +02:00
Renamed from lua/plugin-loader.lua (Browse further)