[Geany-devel] Default Snippets
Lex Trotman
elextr at xxxxx
Thu Dec 1 03:12:51 UTC 2011
[...]
>> Lex, has this hit the repo yet? I've just updated to the git head
>> version and I'm still having trouble with do<tab> in Haskell.
>
No, real life has been in the way, I guess since not many people
commented no one cares so it can be committed soon.
>
>
> I don't use any Haskell so I'm not really sure, but I did notice a
> comment/section in snippets.conf (default):
>
>> [Haskell]
>> # prevent completion of "do"-while-loops in Haskell
>> do=
>
>
> I guess that's overriding the `do` snippet for Haskell so that it doesn't
> insert anything?
Yes, Haskell do syntax is different, do goes roughly where the : goes
on a Python loop and the rest is indented like Python, so the default
snippets are way wrong and inserting nothing is the best compromise
until the defaults are moved.
Cheers
Lex
>
> Cheers,
> Matthew Brush
>
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
More information about the Devel
mailing list