Re: Adeptsense - show completions for "$"

From: mitchell <code%caladbolg.....at.gtempaccount.com>
Date: Thu, 19 May 2011 17:00:41 -0700 (PDT)

Brian,

On May 19, 6:14 pm, Brian Schott <briancsch....at.gmail.com> wrote:
> Now that I think about it, why does symbol_chars require the brackets
> when word_chars does not? Both seem to be combined into larger lua
> patterns inside the Adeptsense code. I think that there should be just
> one way to do this instead of two.

Some patterns need to be constructed with [^word_chars] so it cannot
be in
[]'s.

mitchell

>
>
>
>
>
>
>
> On Wed, May 18, 2011 at 11:33 AM, Brian Schott <briancsch....at.gmail.com> wrote:
> > Aha! word_chars shouldn't have brackets.
>
> > sense.syntax.word_chars = "%w%$"
> > sense.syntax.symbol_chars = "[%w_%$%.]"
>
> > On Wed, May 18, 2011 at 11:21 AM, mitchell <c....at.caladbolg.net> wrote:
> >> Brian,
>
> >> I think you also need to add '%$' to word_chars.
>
Received on Thu 19 May 2011 - 20:00:41 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:07:50 EST