indent settings for cpp
This commit is contained in:
parent
ba4e0f8c9f
commit
f6602bddf0
2 changed files with 5 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ USER root
|
||||||
RUN mkdir /zsh_history \
|
RUN mkdir /zsh_history \
|
||||||
&& touch /zsh_history/.zsh_history \
|
&& touch /zsh_history/.zsh_history \
|
||||||
&& chown -R $USERNAME /zsh_history
|
&& chown -R $USERNAME /zsh_history
|
||||||
|
ADD cpp.vim /home/$USERNAME/.vim/after/ftplugin/cpp.vim
|
||||||
RUN chown -R $USERNAME /home/$USERNAME/
|
RUN chown -R $USERNAME /home/$USERNAME/
|
||||||
ADD entrypoint.sh /entrypoint.sh
|
ADD entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
|
||||||
4
cpp.vim
Normal file
4
cpp.vim
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
setlocal cindent
|
||||||
|
setlocal shiftwidth=2
|
||||||
|
setlocal expandtab
|
||||||
|
setlocal tabstop=2
|
||||||
Loading…
Reference in a new issue