On 10/18/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 18 Oct 2007 14:58:51 -0400, "John Gabriele" jmg3000@gmail.com
The problem I'm having (please let me know if this should be in a new thread) is that I'm trying to create an autocomplete construct for "{{". It looks like this::
[HTML] {{={{ %cursor% }}
but it fails (that is, it doesn't do anything when I hit Tab except insert some spaces, as if "{{" was not an autocomplete construct).
Yes. Reason: '{' doesn't belong the default wordchars which define the characters a word may contain to be recognized. I just added a new key "wordchars" to the section "Special" which lets you define your own wordchars specially for auto completion. Check out SVN r1960.
Uncomment the wordchars line and add '{' to the list of characters and it should work.
Thanks. Works great. :)
---John