{"id":50854275,"url":"https://github.com/haskell/language-haskell","last_synced_at":"2026-06-14T17:01:20.689Z","repository":{"id":2853902,"uuid":"46439690","full_name":"haskell/language-haskell","owner":"haskell","description":"Syntax highlighting support for Haskell in Visual Studio Code","archived":false,"fork":false,"pushed_at":"2026-06-14T10:59:49.000Z","size":2220,"stargazers_count":101,"open_issues_count":22,"forks_count":51,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-06-14T11:08:28.304Z","etag":null,"topics":["haskell","syntax-highlighting","vs-code-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items/haskell.language-haskell","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haskell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-11-18T18:44:17.000Z","updated_at":"2026-06-14T10:43:19.000Z","dependencies_parsed_at":"2025-05-18T00:45:55.196Z","dependency_job_id":null,"html_url":"https://github.com/haskell/language-haskell","commit_stats":null,"previous_names":["haskell/language-haskell"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/haskell/language-haskell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Flanguage-haskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Flanguage-haskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Flanguage-haskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Flanguage-haskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haskell","download_url":"https://codeload.github.com/haskell/language-haskell/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haskell%2Flanguage-haskell/sbom","scorecard":{"id":76091,"data":{"date":"2025-08-11","repo":{"name":"github.com/JustusAdam/language-haskell","commit":"888c0b29fc61388a22285cd711a63e675e1f829b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":4,"reason":"Found 9/21 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/github-ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/JustusAdam/language-haskell/github-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/github-ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/JustusAdam/language-haskell/github-ci.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/github-ci.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"34 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-q8pj-2vqx-8ggc","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-6vfc-qv3f-vr6c","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-rp65-9cf3-cjxr","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-hc6q-2mpp-qw7j","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T04:52:47.252Z","repository_id":2853902,"created_at":"2025-08-15T04:52:47.252Z","updated_at":"2025-08-15T04:52:47.252Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34329738,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["haskell","syntax-highlighting","vs-code-extension"],"created_at":"2026-06-14T17:01:19.785Z","updated_at":"2026-06-14T17:01:20.681Z","avatar_url":"https://github.com/haskell.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Haskell Syntax Highlighting Support\n\nSyntax highlighting support for Haskell in Visual Studio Code, using TextMate\ngrammars.\n\nComes with support for:\n\n- Haskell files (`.hs`, `.lhs`, `.hs-boot`, `.hsig`)\n- Cabal files (`.cabal`) and cabal.project files\n- Alex (`.x`) and Happy (`.y`) files\n- hsc2hs (`.hsc`) files\n\n## Syntax highlighting\n\nThe main Haskell syntax highlighting code is a (now heavily) modified version of\nthe syntax file from the [Haskell TextMate bundle](https://github.com/textmate/haskell.tmbundle).\n\nAlso adds automatic indentation after `where`, `do`, `-\u003e` etc. and surrounding brackets (`[]`, `{}` etc)\n\n![Screenshot Haskell](/images/screenshot1.png?raw=true)\n\n![Screenshot Cabal](/images/screenshot-cabal1.png?raw=true)\n\n## Bugs\n\nIf you happen to notice bugs or have suggestions for improvements visit the [issue\nsection](https://github.com/haskell/language-haskell/issues) of the\n[repository](https://github.com/haskell/language-haskell).\n\n## Themes\n\nThis extension provides TextMate scopes for use in syntax highlighting, but the colours displayed\ndepend on the theme being used.\nUnfortunately many themes have incomplete support for the different TextMate scopes, and as a\nresult different tokens can end up with identical colours.\n\nFor a theme that supports all the scopes provided by this extension, see the\n[Groovy Lambda theme](https://github.com/sheaf/groovy-lambda).\n\n## Theme authors\n\nI recently realized that I am woefully unaware of whether there are any themes with Haskell-specific\nrules and how changes to this extension affect such themes. If you are a theme author that wishes to\nuse Haskell specific rules, or are aware of a theme with Haskell specific rules, feel free to get in\ntouch.\n\nWith version `3.0.0` some new TextMate scopes were added, such that now record and GADT definitions can be\ndistinguished. Let me know if there are any questions about the scope assignment in this\nextension or if there are further scope assigments you'd like to see added.\n\nWe now publish an automatically generated, complete list of the textmate scopes\nused in our grammars. You can find the lists of scopes in the\n[scope-lists](/scope-lists) directory.\n\n## Contributing\n\nThis project currently uses the `YAML-tmLanguage` format for language grammars (Haskell, Cabal, alex, happy, ...).\nThe grammars can be found in the `syntaxes` directory.\nTo generate `JSON` grammars (which is the format VS Code expects), we use the Node package `js-yaml` (requires `npx` in PATH):\n\n```sh\nnpx js-yaml haskell.YAML-tmLanguage \u003e haskell.json\n```\n\nFor testing, we use the Node package `vscode-tmgrammar-test`. For instance, to generate/check\nthe scopes of a Haskell source file, run:\n\n```sh\nnpx vscode-tmgrammar-test \"-g\" \"syntaxes/haskell.json\" \"myTestFile.hs\"\n```\n\nTo run the test-suite, simply call `make test`.\nThis will build the grammar files and run `vscode-tmgrammar-test` on all the files in the testsuite.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell%2Flanguage-haskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaskell%2Flanguage-haskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaskell%2Flanguage-haskell/lists"}