-
Since the config is stored in the nix store neovide does not see the config. My guess is that wrapRc = false would work, but I was wondering if there is a nicer way. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
With neovide you can set the executable/command to run with neovide Simply point your neovide install at the path or the name of the package that you wish to run within neovide Works regardless of wrapRc. You can install neovide with a simple wrapper script that launches it with the argument that sets this path/command neovide --neovim-bin your_package_name or neovide = pkgs.writeShellScriptBin "neovide" ''
exec ${pkgs.neovide}/bin/neovide --neovim-bin ${yourpackage}/bin/${yourpackage.nixCats_packageName} "$@"
'';
# put that in your packages list instead of neovide If you installed via module you wont already have the package available but you can grab the package from the config variable like shown at the end here It will still look for the toml config file in the normal place, and you can use it as normal as you would without nix. but you dont need that, nor will nixCats provision it You can configure neovide in lua. inside lua you can do if vim.g.neovide then
-- your neovide config options
end There might be a way to set where it looks for the toml one too idk, but if there is, then you can pass that in to your config and set it instead of letting it look in its normal path, up to you. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detailed response, I got it working! |
Beta Was this translation helpful? Give feedback.
With neovide you can set the executable/command to run with neovide
Simply point your neovide install at the path or the name of the package that you wish to run within neovide
Works regardless of wrapRc.
You can install neovide with a simple wrapper script that launches it with the argument that sets this path/command
or
If you installed via module you wont already have the package available but you can grab the package from the config variable