tvl-depot/users/glittershark/emacs.d/nix-clangd.sh
Griffin Smith 8a7f0beb86 feat(gs/emacs): Configure for C++ development
Vendor the google-c-style module, and configure lsp-mode to run the
clangd wrapper script for hacking on tvlnix

Change-Id: I8d1ac2f30c9708501e0840ef3d53fe479bc39fa7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1166
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-14 19:38:01 +00:00

7 lines
186 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
CLANGD_FLAGS=--compile-commands-dir=/home/grfn/builds/tazjix \
nix-shell /home/grfn/code/depot \
-A third_party.nix \
--run nix-clangd