Permalink
Browse files

SecLine should take spaces into account (#117)

  • Loading branch information...
1 parent c07ea43 commit ee5edb95fc16c6884dd1e124dd96c8d8ed3daa49 @lervag lervag committed Sep 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/latextoc.vim
View
@@ -1,6 +1,6 @@
syntax match helpText /^.*: .*/
syntax match secNum /^\S\+\(\.\S\+\)\?\s*/ contained conceal
-syntax match secLine /^\S\+\t\S\+/ contains=secNum
+syntax match secLine /^\S\+\t.\+/ contains=secNum
syntax match mainSecLine /^[^\.]\+\t.*/ contains=secNum
syntax match ssubSecLine /^[^\.]\+\.[^\.]\+\.[^\.]\+\t.*/ contains=secNum
highlight link helpText PreProc

0 comments on commit ee5edb9

Please sign in to comment.