Open
Description
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
'';
};