Walter Cazzola wrote:
Hi,Well, all the groups are explicitly laid out in syntax/tex.vim, albeit embedded with the rest of the syntax highlighting. What you might consider doing is using hilinks.vim (http://www.drchip.org/astronaut/vim/index.html#HILINKS, :HLT!) which will then tell you what syntax and highlighting is currently in-use under your cursor. Using your example I typed :HLT!, placed the cursor on the f in ftp:... and noted that the syntax stack has texDocZone->texSectionZone -- so you'll want to use syn cluster texSectionZone add=UrlNoSpell,AcronymNoSpellto your after/syntax/tex.vim file. Regards, Chip Campbell -- -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/5fdcca7c-8885-9776-455c-135213dc66bb%40drchip.org. |
- How to have the spell checker ignoring URLs and acronyms Walter Cazzola
- Re: How to have the spell checker ignoring URLs and ... Charles Campbell
- Re: [VIM] Re: How to have the spell checker igno... Walter Cazzola
- Re: [VIM] Re: How to have the spell checker ... Charles Campbell