nix-community.nixvim/modules
Stanislav Asunkin 65d35db5ca modules/performance: fix specifying combinePlugin.standalonePlugins as packages when byte compilation enabled
Previously, specifying plugins as packages in the
`performance.combinePlugins.standalonePlugins` option did not work when
the `performance.byteCompileLua` option was also enabled. This issue was
due to several package transformations performed by the
`byteCompileLua` which broke package comparison.

There are at least three methods to fix the issue:

- Change transformation order: combine plugins first, then byte-compile
  them.
- Compare every possible transformation when determining if plugins are
  standalone.
- Get the name of the package and use it for comparison.

The first method did not work because the current `byteCompileLuaDrv`
implementation does not support symlinks to directories. The second
method appears too fragile. This commit implements the third method, as
it requires minimal code changes and is straightforward. The downside is
that it might exclude multiple packages with the same name, although
this should be rare.
2025-06-02 18:15:32 +03:00
..
lsp modules/lsp/servers: Fix lua_ls example 2025-05-25 11:29:19 -04:00
misc modules/context: flake option, provides access to our flake 2024-12-23 12:18:06 +00:00
top-level modules/performance: fix specifying combinePlugin.standalonePlugins as packages when byte compilation enabled 2025-06-02 18:15:32 +03:00
autocmd.nix treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject 2024-12-15 21:55:51 +00:00
clipboard.nix modules/clipboard: allow raw lua code in register option 2024-11-15 18:40:10 +00:00
colorscheme.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
commands.nix treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject 2024-12-15 21:55:51 +00:00
default.nix modules/lsp: move to dedicated directory 2025-04-28 17:59:05 +01:00
dependencies.nix plugins/claude-code: add claude-code dependency 2025-05-08 10:35:31 +02:00
diagnostic.nix modules/diagnostic: rename diagnostic.config -> diagnostic.settings 2025-04-30 18:31:17 +01:00
doc.nix treewide: Reformat with nixfmt 2024-05-05 22:00:40 +02:00
editorconfig.nix modules: cleanup with lib 2024-09-03 22:12:33 -05:00
files.nix lib: segregate and deprecate functions that need pkgs 2024-09-13 19:05:26 +01:00
filetype.nix treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject 2024-12-15 21:55:51 +00:00
highlights.nix treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject 2024-12-15 21:55:51 +00:00
keymaps.nix modules/keymap: quickfix, use "keep" rather than "error" 2024-12-20 01:54:02 -08:00
lazyload.nix plugins/packer: remove (deprecated) 2025-04-01 16:03:03 +02:00
lua-loader.nix modules/lua-loader: use new 0.11 API for enabling/disabling 2025-04-01 16:03:03 +02:00
opts.nix treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject 2024-12-15 21:55:51 +00:00
output.nix modules: add env option 2025-03-24 18:50:29 +01:00
performance.nix modules/performance: add ability to byte compile extraLuaPackages 2025-05-12 17:39:01 +03:00
plugins.nix plugins/by-name: remove pathExists check 2024-09-09 11:50:41 +01:00