From 2ff5eedf0672d94db85c2330959cfec5167c8306 Mon Sep 17 00:00:00 2001 From: lhark Date: Thu, 24 Dec 2015 18:09:44 +0100 Subject: [PATCH] Indent for C type files --- vim/after/ftplugin/c.vim | 8 ++++++++ vim/after/ftplugin/cpp.vim | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 vim/after/ftplugin/c.vim create mode 100644 vim/after/ftplugin/cpp.vim diff --git a/vim/after/ftplugin/c.vim b/vim/after/ftplugin/c.vim new file mode 100644 index 0000000..9510319 --- /dev/null +++ b/vim/after/ftplugin/c.vim @@ -0,0 +1,8 @@ +" C specific config + +" Indentation +setlocal autoindent +setlocal si +setlocal shiftwidth=4 +setlocal noexpandtab + diff --git a/vim/after/ftplugin/cpp.vim b/vim/after/ftplugin/cpp.vim new file mode 100644 index 0000000..f38f902 --- /dev/null +++ b/vim/after/ftplugin/cpp.vim @@ -0,0 +1,8 @@ +" C++ specific config + +" Indentation +setlocal autoindent +setlocal si +setlocal shiftwidth=4 +setlocal noexpandtab +