Permalink
Browse files

fix syntax

  • Loading branch information...
1 parent c780941 commit e8b11ca35364103e067d695deacb4431c1e48e90 @Garonenur Garonenur committed Jun 4, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 after/syntax/tex.vim
@@ -5,5 +5,5 @@ syn region texRefZone matchgroup=texStatement start="\\\(label\|\)c\(page\|\)re
" adds support for listings package
syn region texZone start="\\begin{lstlisting}" end="\\end{lstlisting}\|%stopzone\>"
-syn region texZone start="\\lstinputlisting" end="{\s*[a-zA-Z/.0-9_^]\+\s*}"
-syn match texInputFile "\\lstinline\s*\(\[.*\]\)\={.\{-}}" contains=texStatement,texInputCurlies,texInputFileOpt
+syn match texInputFile "\\lstinputlisting\s*\(\[.*\]\)\={.\{-}}" contains=texStatement,texInputCurlies,texInputFileOpt
+syn match texZone "\\lstinline\s*\(\[.*\]\)\={.\{-}}"

0 comments on commit e8b11ca

Please sign in to comment.