Folke Lemaitre
|
5aca9280df
|
perf(util): execute VeryLazy right after UIEnter
|
2023-01-11 13:40:19 +01:00 |
Folke Lemaitre
|
d3a963d51c
|
refactor(util): improved notify functions
|
2023-01-10 09:28:59 +01:00 |
Folke Lemaitre
|
b28c6b9000
|
feat(util): `Util.merge` now support advanced merging strategies. Docs coming soon
|
2023-01-10 07:32:28 +01:00 |
Folke Lemaitre
|
e77be3cf3b
|
fix(spec): `Plugin.opts` is now always a table. Fixes #351
|
2023-01-08 18:45:40 +01:00 |
Folke Lemaitre
|
6a31b97e37
|
feat(util): better deep merging with `Util.merge`
|
2023-01-08 15:01:58 +01:00 |
Folke Lemaitre
|
5ed89b5a0d
|
fix(config): properly handle uis connecting after startup
|
2023-01-07 09:12:59 +01:00 |
Folke Lemaitre
|
e4f79a42d6
|
fix(util): Util.try can now work without an error message
|
2023-01-05 11:31:13 +01:00 |
Folke Lemaitre
|
2e87520826
|
fix(util): assume type is file when no type is returned by scandir. Fixes #306
|
2023-01-04 08:57:50 +01:00 |
Folke Lemaitre
|
b2673f1057
|
style: debug formatting
|
2023-01-04 00:27:31 +01:00 |
Folke Lemaitre
|
953c2791d8
|
fix(util): made `Util.lsmod` more robust. See #298
|
2023-01-03 22:31:18 +01:00 |
Folke Lemaitre
|
7b9fa284f8
|
style: better debug
|
2023-01-03 16:17:15 +01:00 |
Folke Lemaitre
|
60e96b478a
|
fix(loader): always load init.lua in plugin mods
|
2023-01-02 15:04:32 +01:00 |
Folke Lemaitre
|
50a456c189
|
feat(util): added trackfn that wraps a function and tracks timings
|
2023-01-02 11:26:40 +01:00 |
Folke Lemaitre
|
51c23b661e
|
fix(spec): allow a spec module to be on the rtp and not only in config
|
2023-01-01 20:31:34 +01:00 |
Folke Lemaitre
|
ed0583e82b
|
fix(util): remove double forward slashes
|
2022-12-31 09:55:55 +01:00 |
Folke Lemaitre
|
32511a1214
|
feat(health): added spec parsing errors to `:checkhealth`
|
2022-12-30 11:52:20 +01:00 |
Folke Lemaitre
|
d1739cb7e1
|
feat(util): use treesitter to highlight notify messages when available
|
2022-12-27 13:34:12 +01:00 |
Folke Lemaitre
|
fde5feea6d
|
refactor: refactored ui code
|
2022-12-23 10:18:19 +01:00 |
Folke Lemaitre
|
e2bbf3deef
|
refactor: better annotations to make sumneko faster
|
2022-12-23 08:34:55 +01:00 |
Folke Lemaitre
|
2a7b0047dd
|
feat(spec): `config` can be `true` or a `table` that will be passed to `require("plugin").setup(config)`
|
2022-12-22 22:48:22 +01:00 |
Folke Lemaitre
|
b7c489b08f
|
fix(loader): lua modules can be links instead of files. Fixes #66
|
2022-12-21 16:28:01 +01:00 |
Folke Lemaitre
|
540847b7cb
|
fix: strip `/` from dirs. Fixes #60
|
2022-12-21 10:17:10 +01:00 |
Folke Lemaitre
|
44f80a7f5d
|
feat(plugin): allow plugin files only without a main plugin module. Fixes #53
|
2022-12-21 09:03:47 +01:00 |
Folke Lemaitre
|
af87108605
|
fix(util): fixed double slashes
|
2022-12-20 08:47:01 +01:00 |
Folke Lemaitre
|
198963fdab
|
feat: utility method to normalize a path
|
2022-12-20 07:19:41 +01:00 |
Folke Lemaitre
|
3f517abfa4
|
feat: cleanup keys/cmd handlers when loading a plugin
|
2022-12-03 23:42:05 +01:00 |
Folke Lemaitre
|
dbe2d0942a
|
feat: plugins no longer need to be installed under site/pack/*/opt
|
2022-12-03 15:48:06 +01:00 |
Folke Lemaitre
|
e4cf8b1416
|
feat: added debug option
|
2022-12-02 16:52:22 +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
|
af8b8e128e
|
feat: lazy setup with either a plugins module, or a plugins spec
|
2022-12-01 13:34:01 +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
|
20ff5fa218
|
feat: added profiler view
|
2022-11-29 12:02:38 +01:00 |
Folke Lemaitre
|
2fa5be3779
|
refactor(config): package_path => packpath
|
2022-11-29 00:14:23 +01:00 |
Folke Lemaitre
|
073b5e3caa
|
perf: fast return for Util.ls when file found
|
2022-11-28 11:35:47 +01:00 |
Folke Lemaitre
|
9179c0a14d
|
style: cleanup & annotations
|
2022-11-28 07:36:32 +01:00 |
Folke Lemaitre
|
413dd5b112
|
fix: dont return init.lua in lsmod
|
2022-11-26 13:57:17 +01:00 |
Folke Lemaitre
|
359c260911
|
chore: remove deprecated scandir
|
2022-11-26 13:57:05 +01:00 |
Folke Lemaitre
|
7933ae11c4
|
feat: error handler for loading modules, config and init, with custom error formatting
|
2022-11-25 22:50:17 +01:00 |
Folke Lemaitre
|
fe33e4e3dd
|
feat: lazy caching now works with functions that have upvalues
|
2022-11-25 15:35:40 +01:00 |
Folke Lemaitre
|
711834f17c
|
refactor: split util
|
2022-11-24 22:03:00 +01:00 |
Folke Lemaitre
|
6f835ab87b
|
feat: url open handlers
|
2022-11-23 16:12:12 +01:00 |
Folke Lemaitre
|
68a8d57b5b
|
chore: cleanup
|
2022-11-23 16:10:16 +01:00 |
Folke Lemaitre
|
e59dc377d5
|
feat: util.info
|
2022-11-22 22:35:06 +01:00 |
Folke Lemaitre
|
fca984b18c
|
refactor: move core modules needed for loading under core
|
2022-11-22 21:28:27 +01:00 |