add clang format

This commit is contained in:
Mylloon 2022-10-02 01:17:46 +02:00
parent b6a19c5912
commit d6f8f3e641
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 7 additions and 0 deletions

View file

@ -365,6 +365,9 @@ then
yes | opam init
opam install -y utop ocaml-lsp-server ocamlformat ocamlformat-rpc
# === Clang ==
wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/dotfiles/.clang-format -O "$HOME"/.clang-format
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
else
echo "Ce script ne fonctionne que sur Arch."

View file

@ -197,6 +197,9 @@ then
yes | opam init
opam install -y utop ocaml-lsp-server ocamlformat ocamlformat-rpc
# === Clang ==
wget -q https://git.kennel.ml/Anri/confOS/raw/branch/main/dotfiles/.clang-format -O "$HOME"/.clang-format
# === Clear useless packages
pacman -Rsn $(pacman -Qqtd) 2> /dev/null

1
dotfiles/.clang-format Normal file
View file

@ -0,0 +1 @@
IndentWidth: 4