summaryrefslogtreecommitdiff
path: root/runtime/syntax/scala.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-08-30 23:26:57 +0200
committerBram Moolenaar <Bram@vim.org>2016-08-30 23:26:57 +0200
commit89bcfda6834aba724d12554a34b9ed49f5789fd5 (patch)
tree2ffddcadaae9d061e38e17a09b2635ec199eb1dd /runtime/syntax/scala.vim
parent4792255eff03760dca0fd014616532e6d47db364 (diff)
downloadvim-git-89bcfda6834aba724d12554a34b9ed49f5789fd5.tar.gz
Updated runtime files. Remove version checks for Vim older than 6.0.
Diffstat (limited to 'runtime/syntax/scala.vim')
-rw-r--r--runtime/syntax/scala.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/syntax/scala.vim b/runtime/syntax/scala.vim
index b04af3be5..7779c4399 100644
--- a/runtime/syntax/scala.vim
+++ b/runtime/syntax/scala.vim
@@ -7,9 +7,8 @@
" ----------------------------------------------------------------------------
if !exists('main_syntax')
- if version < 600
- syntax clear
- elseif exists("b:current_syntax")
+ " quit when a syntax file was already loaded
+ if exists("b:current_syntax")
finish
endif
let main_syntax = 'scala'