[TxMt] Re: Autocompletion of variables using dashes

Jacob Carlborg doob at me.com
Sun Jul 10 20:06:49 UTC 2016


On 2016-07-10 11:49, Louis Abraham wrote:
> Hi,
>
> I really love the simple yet effective autocompletion using [ESC].
> However, I just began to dig into Scheme, and it seems the autocompletion doesn't work with functions whose name has dashes.
>
> For example, with the following code :
>
>     (define (a-b x) (* x x))
>
>     (define c-d 2)
>
> If I try and type a and press [ESC], nothing happens. However, when I try with c, then the completion works.
> It might be a problem of the grammar.
>
> How can I fix it ? I don't know how the grammar influences the autocompletion.

I think the two first entries of the FAQ [1] is related to this.

[1] https://github.com/textmate/textmate/wiki/FAQ

-- 
/Jacob Carlborg



More information about the textmate mailing list