Bug#595886: syntax/lhaskell.vim: please support autoindent of Bird-style .lhs

Jan Braun janbraun at gmx.net
Mon Sep 6 23:45:53 UTC 2010


Package: vim-runtime
Version: 2:7.3.000+hg~ee53a39d5896-1
Severity: wishlist

Hi,
I wish for vim to honor my "autoindent on" setting and smartly indent
Bird-style literate haskell. E.g.:

> somefun a b c = foo . bar . baz
>   where
>       foo = a
>       bar = b
... and now hitting enter at the end of the previous line should have
inserted ">       ", to place the cursor at the correct position for
typing "baz = c".

Sadly, I have no clue about vim syntax files and thus can't easily do
this myself, but it should at least be doable, since the C comments can
insert non-space indentation too.

cheers,
    Jan

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (99, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim          2:7.3.000+hg~ee53a39d5896-1 Vi IMproved - enhanced vi editor
ii  vim-lesstif  2:7.3.000+hg~ee53a39d5896-1 Vi IMproved - enhanced vi editor -

vim-runtime suggests no packages.

-- no debconf information

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20100907/58c775e9/attachment.pgp>


More information about the pkg-vim-maintainers mailing list