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:
parent
d3ad338726
commit
8a7f0beb86
4 changed files with 185 additions and 0 deletions
7
users/glittershark/emacs.d/nix-clangd.sh
Executable file
7
users/glittershark/emacs.d/nix-clangd.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue