summaryrefslogtreecommitdiff
path: root/runtime/syntax/euphoria3.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-03-08 18:38:28 +0100
committerBram Moolenaar <Bram@vim.org>2014-03-08 18:38:28 +0100
commit0858917e435af762a32e694eeab710c399a74c24 (patch)
treecf08f3b5849e7c98518f6e4e6b1cd0b0f266af4c /runtime/syntax/euphoria3.vim
parent4de6a212f922aa132e9a76d0392bee3adfee6e29 (diff)
downloadvim-git-0858917e435af762a32e694eeab710c399a74c24.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/syntax/euphoria3.vim')
-rw-r--r--runtime/syntax/euphoria3.vim18
1 files changed, 12 insertions, 6 deletions
diff --git a/runtime/syntax/euphoria3.vim b/runtime/syntax/euphoria3.vim
index e449c511d..1254b9624 100644
--- a/runtime/syntax/euphoria3.vim
+++ b/runtime/syntax/euphoria3.vim
@@ -1,11 +1,9 @@
" Vim syntax file
-" Language: Euphoria 3.1.1 - supports DOS - (http://www.RapidEuphoria.com)
+" Language: Euphoria 3.1.1 - supports DOS - (http://www.rapideuphoria.com/)
" Maintainer: Shian Lee
-" Last Change: 2014 Feb 23 (for Vim 7.4)
-" Remark: Using 'euphoria3.vim' if "$EUDIR\BIN\EX.EXE" or "$EUDIR/bin/exu"
-" file exist; else, using 'euphoria4.vim' for Euphoria 4.x.x.
-" Filetype: *.e, *.eu, *.ew, *.ex, *.exu, *.exw (also in UPPER case).
-" note: *.e|*.E are used by Eiffel; for solution see :help filetype.
+" Last Change: 2014 Feb 24 (for Vim 7.4)
+" Remark: Euphoria has two syntax files, euphoria3.vim and euphoria4.vim;
+" For details see :help ft-euphoria-syntax
" Quit if a (custom) syntax file was already loaded (compatible with Vim 5.8):
if version < 600
@@ -14,6 +12,10 @@ elseif exists("b:current_syntax")
finish
endif
+" Reset compatible-options to Vim default value, just in case:
+let s:save_cpo = &cpo
+set cpo&vim
+
" Should suffice for very long expressions:
syn sync lines=40
@@ -127,3 +129,7 @@ hi def link euphoria3Delimit Delimiter
let b:current_syntax = "euphoria3"
+" Restore current compatible-options:
+let &cpo = s:save_cpo
+unlet s:save_cpo
+