Skip to content

Commit

Permalink
Make section, subsection, and subsection much more visible
Browse files Browse the repository at this point in the history
  • Loading branch information
jesjones committed Aug 8, 2012
1 parent 91537fd commit f2884ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Linguist/languages/Tex.lang
Expand Up @@ -2,4 +2,7 @@
Globs: *.tex *.aux

Comment: (?<! \\) % .* $
Header1: \\ section .* $
Header2: \\ subsection .* $
Header3: \\ subsubsection .* $
Keyword: \\ [a-zA-Z] [a-zA-Z0-9_]* \b
5 changes: 3 additions & 2 deletions Notes.txt
@@ -1,8 +1,9 @@
asciidoc --backend=xhtml11 --out-file=README.html README.asciidoc && open README.html
zip -j Linguist-0.4.zip README.html CHANGES.txt Linguist/bin/Debug/Linguist.vsix

* ini needs to handle colons in section names (see pyramid ini files)
* Python needs to highlight with (and maybe int, float, str, etc)
* tex \todo should be more visible, maybe red or something
* tex section and subsection should be more visible.
* Makefile Target: ^ [^\t;\:\r\n](?: [^;\r\n]*[^;\:\r\n])? (?= \: \s* $)
* Be sure to mention that multi-line regexen don't work so well.

* Attributes are not always highlighted properly (tho the regex looks right)
Expand Down

0 comments on commit f2884ae

Please sign in to comment.