>David Woodfall wrote:
>> syn sync fromstart
>> syn match Ellipsis /[.][.][.]\s\+\l.*\>/ contains=@NoSpell transparent
>> syn match Ellipsis2 /[.][.][.]\n\s\+\l.*\>/ contains=@NoSpell
>> transparent
>> syn cluster Spell add=Ellipsis
>> syn cluster Spell add=Ellipsis2
>>
>> syn cluster texDocGroup add=Ellipsis
>> syn cluster texPartGroup add=Ellipsis
>> syn cluster texChapterGroup add=Ellipsis
>> syn cluster texSectionGroup add=Ellipsis
>> syn cluster texSubSectionGroup add=Ellipsis
>> syn cluster texSubSubSectionGroup add=Ellipsis
>> syn cluster texParaGroup add=Ellipsis
>>
>> syn cluster texDocGroup add=Ellipsis2
>> syn cluster texPartGroup add=Ellipsis2
>> syn cluster texChapterGroup add=Ellipsis2
>> syn cluster texSectionGroup add=Ellipsis2
>> syn cluster texSubSectionGroup add=Ellipsis2
>> syn cluster texSubSubSectionGroup add=Ellipsis2
>> syn cluster texParaGroup add=Ellipsis2
>Please try the attached file instead; place in your $HOME/syntax
>directory. I tried it with the attached "junk.tex" file.
>
>Regards,
>Chip Campbell
Thanks. That works on .tex files but on a txt file with syn=tex in the
modeline still messes up unless I also put ft=tex in the modeline.
This is where it is falling down.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment