Matthieu Coudron
Matthieu Coudron
@Congee I've just uncommented the neovim-no-init test and it creates an init.vim with packpath. the packpath is empty though so that's strange. You seem to know the code quite well...
for info https://github.com/nix-community/home-manager/pull/2637 can help you generate a lua file from your home-manager config. Would be cool if someone could fix https://github.com/nix-community/home-manager/blob/9d369c75ce2fdeb296ad42bcdc8c1a523c494550/tests/modules/programs/neovim/default.nix#L5 we could have some intelligence in home-manager that...
@marcelarie sure, there are some examples that were presented on the discourse, for instance https://github.com/jordanisaacs/neovim-flake. These are flake-based but nothing prevents you to adapt it.
they are but if you are new to nix, I am not sure what to recommand, on one side, flakes solve tons of UX/UI issues nix had but had the...
I've updated most of my setup to lua and got interested in fixing that, which translates into this PR https://github.com/NixOS/nixpkgs/pull/184364 . Not sure it solves this issue yet but it...
while preparing another neovim PR, I've reenabled tests/modules/programs/neovim/no-init.nix and seems like this issue is fixed so closing. NB: init.lua is not generated automatically though so you still have to add...
if you have some plugin-specific lua config, home-manager still creates an init.vim to write `lua require('init-home-manager')` which is a pain. I will make HM write an init.lua instead ( once...
I reopen because of the issues up from my previous message.
the init.vim is created when this condition is fullfilled https://github.com/nix-community/home-manager/blob/60c6bfe322944d04bb38e76b64effcbd01258824/modules/programs/neovim.nix#L363 . You will notice that even when no config is set, the init.vim ends up with multiple lines and here...
Updated it, I use the script with rofi rather than with dmenu but I guess it would be easier for me to generate a rofi wrapper called "dmenu" :)