add clang format
This commit is contained in:
parent
b6a19c5912
commit
d6f8f3e641
3 changed files with 7 additions and 0 deletions
3
arch.sh
3
arch.sh
|
@ -365,6 +365,9 @@ then
|
||||||
yes | opam init
|
yes | opam init
|
||||||
opam install -y utop ocaml-lsp-server ocamlformat ocamlformat-rpc
|
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."
|
echo -e "\nInstallation terminée.\nIl faut redémarrer l'ordinateur."
|
||||||
else
|
else
|
||||||
echo "Ce script ne fonctionne que sur Arch."
|
echo "Ce script ne fonctionne que sur Arch."
|
||||||
|
|
|
@ -197,6 +197,9 @@ then
|
||||||
yes | opam init
|
yes | opam init
|
||||||
opam install -y utop ocaml-lsp-server ocamlformat ocamlformat-rpc
|
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
|
# === Clear useless packages
|
||||||
pacman -Rsn $(pacman -Qqtd) 2> /dev/null
|
pacman -Rsn $(pacman -Qqtd) 2> /dev/null
|
||||||
|
|
||||||
|
|
1
dotfiles/.clang-format
Normal file
1
dotfiles/.clang-format
Normal file
|
@ -0,0 +1 @@
|
||||||
|
IndentWidth: 4
|
Loading…
Reference in a new issue