{"id":16341352,"url":"https://github.com/alx741/vim-stylishask","last_synced_at":"2025-10-24T19:35:11.109Z","repository":{"id":47171851,"uuid":"103068042","full_name":"alx741/vim-stylishask","owner":"alx741","description":"Vim Haskell stylish-haskell integration plugin","archived":false,"fork":false,"pushed_at":"2021-09-10T02:35:35.000Z","size":8,"stargazers_count":12,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-18T15:54:06.109Z","etag":null,"topics":["haskell","stylish-haskell","vim"],"latest_commit_sha":null,"homepage":"","language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alx741.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-10T23:03:13.000Z","updated_at":"2022-10-22T16:44:22.000Z","dependencies_parsed_at":"2022-09-21T08:01:08.031Z","dependency_job_id":null,"html_url":"https://github.com/alx741/vim-stylishask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-stylishask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-stylishask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-stylishask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alx741%2Fvim-stylishask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alx741","download_url":"https://codeload.github.com/alx741/vim-stylishask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040235,"owners_count":20551297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","stylish-haskell","vim"],"created_at":"2024-10-10T23:59:15.598Z","updated_at":"2025-10-07T02:38:35.980Z","avatar_url":"https://github.com/alx741.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-stylishask\n\nIntegrates with [stylish-haskell](https://github.com/jaspervdj/stylish-haskell)\nso every time you save a Haskell source file it gets automatically prettified.\n\nSimply using `:%!stylish-haskell` replaces your whole source file with an error\nmessage from **stylish-haskell** when you happen to have a syntax error in your\ncode, this plugin manages that annoyance.\n\n*Note:* If you prefer *hindent* use\n[vim-hindent](https://github.com/alx741/vim-hindent) instead.\n\n## Installation\n\nCompatible with `Vundle`, `Pathogen`, `Vim-plug`.\n\n\n## Usage\n\nBy default, *vim-stylishask* will format your code automatically when saving a\nHaskell source file, but you can use the `:Stylishask` command at any time to\nformat the current file.\n\nTo apply *stylish-haskell* on a range, either write the range manually or\nvisually select the desired code and then invoke `:Stylishask`.\n\nUse `:StylishaskEnable`, `:StylishaskDisable`, `:StylishaskToggle` to enable,\ndisable, or toggle running `stylish-haskell` on save.\n\n\n## Configuration\n\nTrigger *stylish-haskell* when saving (default = 1):\n\n```vim\ng:stylishask_on_save = 1\n```\n\n*stylish-haskell* configuration file to use (default = \"\" == Use default .stylish-haskell.yaml):\n\n```vim\ng:stylishask_config_file = \"/path/to/.stylish-haskell.yaml\"\n```\n\nSpecify the path to the stylish-haskell executable (for example if you\ninstalled stylish-haskell with `stack build --copy-compiler-tool\nstylish-haskell`)\n\n```vim\ng:stylishask_config_file = \"~/.stylish-haskell.yaml\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fvim-stylishask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falx741%2Fvim-stylishask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falx741%2Fvim-stylishask/lists"}