chore(3p/nix): Enable cross-file-rename in clangd

This commit is contained in:
Vincent Ambo 2020-05-24 18:19:28 +01:00
parent da9104767e
commit f30b2e610d

View file

@ -26,5 +26,5 @@ pkgs.writeShellScriptBin "nix-clangd" ''
export CPLUS_INCLUDE_PATH=${pkgs.llvmPackages.libcxx}/include/c++/v1:''${CPATH}
# TODO(tazjin): Configurable commands directory?
exec -a clangd ${pkgs.llvmPackages.clang-unwrapped}/bin/clangd $@
exec -a clangd ${pkgs.llvmPackages.clang-unwrapped}/bin/clangd -cross-file-rename $@
''