Hi Bram,

I attach updated cabal syntax file.

I would also include support for two additional filetypes:

* cabal config files, recognized by:
```
au BufRead,BufNewFile $HOME/.cabal/config setf cabalconfig
au BufRead,BufNewFile cabal.config setf cabalconfig
```
* cabal project files, recognized by:
```
au BufRead,BufNewFile cabal.project setf cabalproject
au BufRead,BufNewFile cabal.project.* setf cabalproject
```

Haskell is also using `.hsc` extension, which is already assigned to `hamster` 
file type.  Is there a mechanism which allows to resolve such conflicts.  If 
not we could add a passage to the haskell documentation in `syntax.txt` file.


Best regards,
Marcin Szamotulski

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/p_AB2IuGTZMKxJWUATHX50GRnPhaSFytgaI6qnEYXj0QAkxGpwqStTbzbBnz7sLJInI37zUiqejYvFVqevir0yex4oV4jVuL9sMXIzqqv6U%3D%40coot.me.

Attachment: cabal.vim
Description: Binary data

Attachment: cabalconfig.vim
Description: Binary data

Attachment: cabalproject.vim
Description: Binary data

Attachment: signature.asc
Description: OpenPGP digital signature

Raspunde prin e-mail lui