-
-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I have confirmed that this is a bug related to nvf
- This is a bug, and not an user error or a support request. I understand that my issue will be closed if it is not a bug in nvf.
- I have checked the issues tab and confirmed that my issue has not yet been reported. I understand that my issue will be closed if it is a duplicate.
Description
I recently changed my Rust config and started getting deprecation warnings about expToLua, presumably due to this line:
nvf/modules/plugins/languages/rust.nix
Line 172 in 45aaf1c
| then expToLua cfg.lsp.package |
Looking at the git history, it seems like it was changed to toLuaObject in 3e48f13 and then changed back in 99b003f. Was this a mistake, or was there a reason for the change back?
Installation Method
NixOS Module (nixosModules.default)
Installation Method (Other)
No response
nvf Version
master
Reproduction steps
Set vim.languages.rust.lsp.package to any list of strings.
Expected behavior
Not receive deprecation warnings.
Actual Behavior
Received deprecation warnings.
System Information
❯ nix-info --markdown
- system: `"x86_64-linux"`
- host os: `Linux 6.18.5-zen1, NixOS, 26.05 (Yarara), 26.05.20260121.88d3861`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Lix, like Nix) 2.94.0
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/connor/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/connor/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/connor/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/connor/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/nscyf9cwhkzzczlhgm397nd240yfvgvs-lix-2.94.0/share`
- nixpkgs: `/nix/store/m6ji2a8jp7w4ck7vvrjh4grs4p3n7r26-source`Relevant log output
trace: evaluation warning: expToLua is deprecated use toLuaObject insteadMetadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working