comparison runtime/indent/sqlanywhere.vim @ 48:67300faee616 v7-3-618

v7-3-618
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 01 Aug 2012 18:08:28 +0900
parents e170173ecb68
children
comparison
equal deleted inserted replaced
47:6c0584ec21b1 48:67300faee616
46 46
47 " Only define the functions once. 47 " Only define the functions once.
48 if exists("*GetSQLIndent") 48 if exists("*GetSQLIndent")
49 finish 49 finish
50 endif 50 endif
51 let s:keepcpo= &cpo
52 set cpo&vim
51 53
52 " List of all the statements that start a new block. 54 " List of all the statements that start a new block.
53 " These are typically words that start a line. 55 " These are typically words that start a line.
54 " IS is excluded, since it is difficult to determine when the 56 " IS is excluded, since it is difficult to determine when the
55 " ending block is (especially for procedures/functions). 57 " ending block is (especially for procedures/functions).
380 382
381 " echom 'final - indent ' . ind 383 " echom 'final - indent ' . ind
382 return s:ModuloIndent(ind) 384 return s:ModuloIndent(ind)
383 endfunction 385 endfunction
384 386
387 let &cpo = s:keepcpo
388 unlet s:keepcpo
389
385 " vim:sw=4: 390 " vim:sw=4: