summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/basic.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-12-30 13:11:27 +0100
committerBram Moolenaar <Bram@vim.org>2011-12-30 13:11:27 +0100
commitb6b046b281fac168a78b3eafdea9274bef06882f (patch)
tree8d50c58421278f30521e290a8cf18c6085b78168 /runtime/syntax/basic.vim
parentdeaf7b739791095e2c98a7087dfe9b3c8dfd56f2 (diff)
Updated runtime files.
Diffstat (limited to 'runtime/syntax/basic.vim')
-rw-r--r--runtime/syntax/basic.vim7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/syntax/basic.vim b/runtime/syntax/basic.vim
index ee500178c9..c72032da27 100644
--- a/runtime/syntax/basic.vim
+++ b/runtime/syntax/basic.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: BASIC
" Maintainer: Allan Kelly <allan@fruitloaf.co.uk>
-" Last Change: Tue Sep 14 14:24:23 BST 1999
+" Last Change: 2011 Dec 25 by Thilo Six
" First version based on Micro$soft QBASIC circa 1989, as documented in
" 'Learn BASIC Now' by Halvorson&Rygmyr. Microsoft Press 1989.
@@ -16,6 +16,9 @@ elseif exists("b:current_syntax")
finish
endif
+let s:cpo_save = &cpo
+set cpo&vim
+
" A bunch of useful BASIC keywords
syn keyword basicStatement BEEP beep Beep BLOAD bload Bload BSAVE bsave Bsave
syn keyword basicStatement CALL call Call ABSOLUTE absolute Absolute
@@ -171,4 +174,6 @@ endif
let b:current_syntax = "basic"
+let &cpo = s:cpo_save
+unlet s:cpo_save
" vim: ts=8