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>
This commit is contained in:
Griffin Smith 2020-07-14 15:34:23 -04:00 committed by glittershark
parent d3ad338726
commit 8a7f0beb86
4 changed files with 185 additions and 0 deletions

View file

@ -0,0 +1,7 @@
#!/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