indent settings for cpp

This commit is contained in:
Thies Lennart Alff 2022-05-25 12:25:15 +02:00
parent ba4e0f8c9f
commit f6602bddf0
2 changed files with 5 additions and 0 deletions

View file

@ -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

4
cpp.vim Normal file
View file

@ -0,0 +1,4 @@
setlocal cindent
setlocal shiftwidth=2
setlocal expandtab
setlocal tabstop=2