Commit graph

5 commits

Author SHA1 Message Date
Gaetan Lepage
77c5fe808a modules/lua-loader: use new 0.11 API for enabling/disabling 2025-04-01 16:03:03 +02:00
Matt Sturgeon
123a55ed6f
tests: remove special treatment of module
Since we no longer need to extract `tests.dontRun` from an attrset, we
no longer need the "special" `module` attr.
2024-08-20 01:07:21 +01:00
Austin Horstman
00f32f0430
tests/lua-loader: builtins.match -> lib.hasInfix
Getting invalid regex expression on darwin.
2024-08-16 08:55:38 -05:00
Stanislav Asunkin
8eb5763bbb modules/lua-loader: make enable option nullable
This avoids having the option always "defined".

This also avoids luaLoader configuration in extra files by default.
Earlier `vim.loader.disable()` was always added to configs produced
by `files` option, effectively disabling luaLoader even if it was
explicitly enabled in a top-level configuration.
2024-07-21 17:11:50 +03:00
Gaétan Lepage
a9e3ff3f73
modules/lua-loader: add support for the new lua-loader (#336) 2023-04-15 16:32:10 +02:00