Twinside/vim-syntax-haskell-cabal — Issue #1: Context-sensitive highlighting is needed
Author: copton
Created: 2011-10-28 08:50:20+00:00
State: open

Hey,

thanks for writing this syntax highlighting file for cabal.

There are some issues, though. If you open [1], for example, you see that
- The word "type" is always highlighted, even if it is within the word "MultiParamTypeClasses" from the Default-Extensions section or within the word "Ocram.Test.Tests.Analysis.Types" which is a module name.
- The word "license" is always highlighted even if it is the value of the License-file section or the Data-files section.
- The word "Default-language" is only partially highlighted, i.e. only the word "Default" is.
- The new "package == 1.1.*" syntax is not supported properly as the ".*" is not highlighted.

Maybe you can find some time to fix these issues.

Greetings

Alex

[1] https://github.com/copton/ocram/blob/master/ocram.cabal