about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-24T17·19+0100
committerVincent Ambo <tazjin@google.com>2020-05-24T17·19+0100
commitf30b2e610d9e612504a9f6460e0cc83413b80aeb (patch)
tree1059845dc58cdc41deab1aa9a49995277316a525 /third_party
parentda9104767ed182e2ccb296a215e8f63fd4059d15 (diff)
chore(3p/nix): Enable cross-file-rename in clangd r/839
Diffstat (limited to 'third_party')
-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 $@
 ''