mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 02:59:00 +02:00
plugins/vimtex: formatting
This commit is contained in:
parent
3be30efc3b
commit
1a7a726a98
1 changed files with 9 additions and 2 deletions
|
@ -69,7 +69,14 @@ in
|
|||
extraPlugins = [cfg.package];
|
||||
|
||||
extraPackages =
|
||||
basePackages ++ (lib.optionals (hasAttr "${cfg.viewMethod}" viewMethodAndPDFViewerPairs) viewMethodAndPDFViewerPairs."${cfg.viewMethod}");
|
||||
basePackages
|
||||
++ (
|
||||
optionals
|
||||
(
|
||||
hasAttr "${cfg.viewMethod}" viewMethodAndPDFViewerPairs
|
||||
)
|
||||
viewMethodAndPDFViewerPairs."${cfg.viewMethod}"
|
||||
);
|
||||
|
||||
globals = mapAttrs' (name: nameValuePair ("vimtex_" + name)) globals;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue