From 0244e228faf6ee71750cbca3bdcd18411a927d22 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 11 Sep 2016 13:24:17 +0200 Subject: Update --- indent/eruby.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'indent/eruby.vim') diff --git a/indent/eruby.vim b/indent/eruby.vim index 82313a08..3736f529 100644 --- a/indent/eruby.vim +++ b/indent/eruby.vim @@ -43,6 +43,10 @@ if exists("*GetErubyIndent") finish endif +" this file uses line continuations +let s:cpo_sav = &cpo +set cpo&vim + function! GetErubyIndent(...) " The value of a single shift-width if exists('*shiftwidth') @@ -101,6 +105,9 @@ function! GetErubyIndent(...) return ind endfunction +let &cpo = s:cpo_sav +unlet! s:cpo_sav + " vim:set sw=2 sts=2 ts=8 noet: endif -- cgit v1.2.3