diff options
Diffstat (limited to 'runtime/syntax/icemenu.vim')
-rw-r--r-- | runtime/syntax/icemenu.vim | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/syntax/icemenu.vim b/runtime/syntax/icemenu.vim index d3a733d57..6513287df 100644 --- a/runtime/syntax/icemenu.vim +++ b/runtime/syntax/icemenu.vim @@ -6,10 +6,8 @@ " Comment: Icewm is a lightweight window manager. This adds syntax " highlighting when editing your user's menu file (~/.icewm/menu). -" clear existing 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 |