chore(3p/nix): Enable cross-file-rename in clangd
This commit is contained in:
parent
da9104767e
commit
f30b2e610d
1 changed files with 1 additions and 1 deletions
2
third_party/nix/clangd.nix
vendored
2
third_party/nix/clangd.nix
vendored
|
@ -26,5 +26,5 @@ pkgs.writeShellScriptBin "nix-clangd" ''
|
||||||
export CPLUS_INCLUDE_PATH=${pkgs.llvmPackages.libcxx}/include/c++/v1:''${CPATH}
|
export CPLUS_INCLUDE_PATH=${pkgs.llvmPackages.libcxx}/include/c++/v1:''${CPATH}
|
||||||
|
|
||||||
# TODO(tazjin): Configurable commands directory?
|
# 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 $@
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue