Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] extraFiles not added to runtimepath after migrating to standalone #2799

Open
1 task done
mkienitz opened this issue Jan 6, 2025 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@mkienitz
Copy link

mkienitz commented Jan 6, 2025

Field Description
Plugin nixvim
Nixpkgs unstable
  • I have read the FAQ and my bug is not listed there.

Description

After migrating my home-manager based nixvim configuration to a seperate flake, my filetype configuration is broken. As far as I can tell, the filetype setting files are not added to the runtimepath, despite the option description saying so.

For the example down below, I can see the created file at /nix/store/<hash>-vim-pack-dir/pack/myNeovimPackages/start/nvim-config/after/ftplugin/haskell.lua

I am using and building nixvim on Darwin.

Minimal, Reproducible Example (MRE)

Inside a standalone nixvim configuration:

extraFiles = {
    "after/ftplugin/haskell.lua".text = ''
      vim.bo.tabstop = 2
      vim.bo.shiftwidth = 2
      vim.bo.expandtab = true 
    '';
 };
@mkienitz mkienitz added the bug Something isn't working label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant