about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--third_party/nix/clangd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/clangd.nix b/third_party/nix/clangd.nix
index 9494e756b16f..70d2fa321476 100644
--- a/third_party/nix/clangd.nix
+++ b/third_party/nix/clangd.nix
@@ -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 $@
 ''