diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-05-01 21:14:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-05-01 21:14:34 +0200 |
commit | 8071607aa5e6f4decd2c3ba0a41cf2b3498b6f1e (patch) | |
tree | b89b0ce21c32df983ad6b857b3ac55188a0f58ed /runtime/indent/ada.vim | |
parent | 2d0b92f8f9f765f2707a98a3493903f895c87c7f (diff) |
More runtime file fixes for 'compatible' mode.
Diffstat (limited to 'runtime/indent/ada.vim')
-rw-r--r-- | runtime/indent/ada.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/indent/ada.vim b/runtime/indent/ada.vim index c7f8864362..03fbaa3a18 100644 --- a/runtime/indent/ada.vim +++ b/runtime/indent/ada.vim @@ -28,8 +28,6 @@ if exists("b:did_indent") || version < 700 finish endif -let s:keepcpo= &cpo -set cpo&vim let b:did_indent = 45 @@ -41,6 +39,8 @@ setlocal indentkeys+=0=~then,0=~end,0=~elsif,0=~when,0=~exception,0=~begin,0=~is if exists("*GetAdaIndent") finish endif +let s:keepcpo= &cpo +set cpo&vim if exists("g:ada_with_gnat_project_files") let s:AdaBlockStart = '^\s*\(if\>\|while\>\|else\>\|elsif\>\|loop\>\|for\>.*\<\(loop\|use\)\>\|declare\>\|begin\>\|type\>.*\<is\>[^;]*$\|\(type\>.*\)\=\<record\>\|procedure\>\|function\>\|accept\>\|do\>\|task\>\|package\>\|project\>\|then\>\|when\>\|is\>\)' |