This extension currently provides syntax highlighting support for .cabal and .hs files and is recommended by the Haskell extension.
It would be great to extend this syntax highlighting support to cabal.project and cabal.project.local files, as HLS will start providing basic IDE features (such as diagnostics, etc...) relatively soon: haskell/haskell-language-server#4615
The support itself should be relatively straight-forward, cabal.project files have the same structure and rules as .cabal files, so the only thing that truly needs to change are the keywords.
If you agree that we should have syntax highlighting for cabal.project, then the HLS team would be happy to contribute (and maintain if desired) the syntax for cabal.project files.
This extension currently provides syntax highlighting support for .cabal and .hs files and is recommended by the Haskell extension.
It would be great to extend this syntax highlighting support to
cabal.projectandcabal.project.localfiles, as HLS will start providing basic IDE features (such as diagnostics, etc...) relatively soon: haskell/haskell-language-server#4615The support itself should be relatively straight-forward,
cabal.projectfiles have the same structure and rules as.cabalfiles, so the only thing that truly needs to change are the keywords.If you agree that we should have syntax highlighting for
cabal.project, then the HLS team would be happy to contribute (and maintain if desired) the syntax forcabal.projectfiles.