Mercurial > vim
comparison runtime/indent/sqlanywhere.vim @ 3526:dd6c2497c997
Fix more 'cpo' issues in runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 18 May 2012 21:49:28 +0200 |
parents | b9740fb41986 |
children | b3f3237a3d72 |
comparison
equal
deleted
inserted
replaced
3525:b1f40dd6f844 | 3526:dd6c2497c997 |
---|---|
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: |