From f6602bddf096ad289d5cd577c853614e9052379b Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Wed, 25 May 2022 12:25:15 +0200 Subject: [PATCH] indent settings for cpp --- Dockerfile | 1 + cpp.vim | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 cpp.vim diff --git a/Dockerfile b/Dockerfile index 9e7ae57..7d38794 100644 --- a/Dockerfile +++ b/Dockerfile @@ -67,6 +67,7 @@ USER root RUN mkdir /zsh_history \ && touch /zsh_history/.zsh_history \ && chown -R $USERNAME /zsh_history +ADD cpp.vim /home/$USERNAME/.vim/after/ftplugin/cpp.vim RUN chown -R $USERNAME /home/$USERNAME/ ADD entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/cpp.vim b/cpp.vim new file mode 100644 index 0000000..f06a24a --- /dev/null +++ b/cpp.vim @@ -0,0 +1,4 @@ +setlocal cindent +setlocal shiftwidth=2 +setlocal expandtab +setlocal tabstop=2