builtins.fromJSON(builtins.readFile ./file.json)
Instructions for adding Vim plugins to nixpkgs can be found here.
nixpkgs