From f30b2e610d9e612504a9f6460e0cc83413b80aeb Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 24 May 2020 18:19:28 +0100 Subject: [PATCH] chore(3p/nix): Enable cross-file-rename in clangd --- third_party/nix/clangd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/nix/clangd.nix b/third_party/nix/clangd.nix index 9494e756b..70d2fa321 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 $@ ''