From 9a7224b5a0639c26c843c10afcafa5bf149271fd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 30 Apr 2012 15:56:52 +0200 Subject: Fixed compatible mode in most runtime files. --- runtime/syntax/autoit.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'runtime/syntax/autoit.vim') diff --git a/runtime/syntax/autoit.vim b/runtime/syntax/autoit.vim index 47210f55b..1b9ab7458 100644 --- a/runtime/syntax/autoit.vim +++ b/runtime/syntax/autoit.vim @@ -6,6 +6,15 @@ " Script URL: http://www.vim.org/scripts/script.php?script_id=1239 " ChangeLog: Please visit the script URL for detailed change information +" Quit when a syntax file was already loaded. +if exists("b:current_syntax") + finish +endif +let s:keepcpo= &cpo +set cpo&vim + +let b:current_syntax = "autoit" + " AutoIt is not case dependent syn case ignore @@ -1108,4 +1117,8 @@ hi def link autoitOption Type hi def link autoitStyle Type hi def link autoitConst Type hi def link autoitSend Type + syn sync minlines=50 + +let &cpo = s:keepcpo +unlet s:keepcpo -- cgit v1.2.1