Hello, I'd like to request that the file extensions .hs-boot and .lhs be recognized as Haskell sources by default in Kate. .hs-boot is a bootstrap module (a simplified form of an .hs file) that GHC uses to compile mutually recursive modules[1][2] and isn't uncommon, and .lhs is a Literate Haskell program[3][4]. I'm assuming that this is part of Kate, since the Haskell extensions recognized by Kate (.hs, .chs) are different from my KDE's (system's?) MIME configuration (.hs, .lhs). (Kate 3.14.8, KDE 4.14.8, Gentoo amd64.) [1] https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/separate-compilation.html#mutual-recursion [2] https://wiki.haskell.org/Mutually_recursive_modules [3] https://www.haskell.org/onlinereport/literate.html [4] https://wiki.haskell.org/Literate_programming Reproducible: Always
For lhs files there already is a separate "Literate Haskell" highlighting. So just adding .hs-boot to haskell should be good enough, or rather add it to literate haskell?
Just to Haskell, please and thanks. .hs-boot files use the same syntax as .hs files (specifically a subset, but it doesn't matter for highlighting).
Git commit fdf92adfc8083ffde4b4472eb64d147cd6283556 by Dominik Haumann. Committed on 24/07/2017 at 07:55. Pushed by dhaumann into branch 'master'. Haskell: Add file extension .hs-boot (bootstrap module) FIXED-IN: 5.37 M +1 -1 data/syntax/haskell.xml https://commits.kde.org/syntax-highlighting/fdf92adfc8083ffde4b4472eb64d147cd6283556