Commits

Lee S. committed 183783a

Fixed a bug in the syntax script.

  • Participants
  • Parent commits 8e278d8

Comments (0)

Files changed (1)

src/syntax/abc.vim

 " support SVG content. HTML code is technically supported this way, for XHTML.
 " Initialization {{{
 if !exists("main_syntax")
-    syn include syntax/xml.vim " TODO - update syntax/svg.vim to include it's
-                               " specific elements and attributes, and maybe
-                               " it's feature strings
-    syn include syntax/xhtml.vim " TODO - update syntax/xhtml.vim so it
-                                 " forces tags to be closed
-    syn include texAccent,texLigature syntax/tex.vim
-    syn include cFormat syntax/c.vim
-    syn include syntax/postscr.vim
     if version < 600
         syntax clear " Clear the syntax
     elseif has("b:current_syntax=1")
         finish
     endif
     let main_syntax = "abc"
+    syn include syntax/xml.vim " Supports any other form of XML used in a tune.
+    syn include after/syntax/svg.vim
+    " Supports using SVG content in beginsvg/endsvg sections.
+    syn include after/syntax/xhtml.vim
+    " Supports using XHTML in free text sections.
+    syn include texAccent,texLigature syntax/tex.vim
+    " Supports using TeX accents & ligatures.
+    syn include cFormat syntax/c.vim
+    " Supports using C-style Unicode string character escape codes.
+    syn include syntax/postscr.vim
+    " abc is extended from PostScript syntax.
+
+    "TODO
+   "if !exists("b:abc_version")
+   "    
+   "endif
 endif
-
-"TODO
-"if !exists("b:abc_version")
-"    
-"endif
 " }}}
 " Numbers {{{
 syn case ignore