From be7b3fdd49b216e24ef92e2e5168693f9fc66872 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Tue, 19 Feb 2013 19:25:47 +0400 Subject: [PATCH] ValaIntent() added --- .vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.vimrc b/.vimrc index e58850d..a6396b0 100644 --- a/.vimrc +++ b/.vimrc @@ -26,7 +26,13 @@ function! GnuIndent() setlocal tabstop=8 endfunction +" Setup for the Vala coding format standard +function! ValaIndent() + setlocal shiftwidth=4 +endfunction + au FileType c,cpp call GnuIndent() +au FileType vala,vapi call ValaIndent() " отключение бэкапов set nobackup