mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-14 13:01:09 +01:00
lib/file-type: fix xrefs (#4007)
Currently they all point to `home.file`.
This commit is contained in:
parent
ba006d7cca
commit
d9995d94f1
4 changed files with 12 additions and 8 deletions
|
|
@ -43,7 +43,8 @@ let
|
|||
default = { };
|
||||
# passing actual "${xdg.configHome}/nvim" as basePath was a bit tricky
|
||||
# due to how fileType.target is implemented
|
||||
type = fileType "<varname>xdg.configHome/nvim</varname>" "nvim";
|
||||
type = fileType "programs.neovim.plugins._.runtime"
|
||||
"<varname>xdg.configHome/nvim</varname>" "nvim";
|
||||
example = literalExpression ''
|
||||
{ "ftplugin/c.vim".text = "setlocal omnifunc=v:lua.vim.lsp.omnifunc"; }
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue