{"id":21013433,"url":"https://github.com/heavenshell/vim-snowflake","last_synced_at":"2026-04-13T07:06:00.928Z","repository":{"id":136338741,"uuid":"77723735","full_name":"heavenshell/vim-snowflake","owner":"heavenshell","description":"An asynchronous Python source code checker for Vim.","archived":false,"fork":false,"pushed_at":"2017-01-29T05:10:36.000Z","size":5950,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T02:12:12.568Z","etag":null,"topics":["flake8","python","vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim script","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/heavenshell.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2016-12-31T03:44:54.000Z","updated_at":"2017-10-25T03:14:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"30406a42-4c25-4304-a9d3-23593998b761","html_url":"https://github.com/heavenshell/vim-snowflake","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/heavenshell%2Fvim-snowflake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fvim-snowflake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fvim-snowflake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heavenshell%2Fvim-snowflake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heavenshell","download_url":"https://codeload.github.com/heavenshell/vim-snowflake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243437970,"owners_count":20290865,"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":["flake8","python","vim"],"created_at":"2024-11-19T09:42:27.056Z","updated_at":"2025-12-30T10:28:08.799Z","avatar_url":"https://github.com/heavenshell.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-snowflake\n\n[![Build Status](https://travis-ci.org/heavenshell/vim-snowflake.svg?branch=master)](https://travis-ci.org/heavenshell/vim-snowflake)\n\nAn asynchronous Python source code checker for Vim.\n\n![Realtime style check](./assets/vim-snowflake.gif)\n\n## Features\n\nInstall flake8 by `venv`, `virtualenv` whatever you like.\n\n```console\npip install flake8\n```\n\n### Realtime check\n\nA lot of style checker triggered by save buffer.\n\nvim-snowflake detect source code change immediately and upddate results(no need to save buffer).\n\n### More realtime\n\nTextChange and TextChangeI event can detect more realtime.\n\n```viml\nautocmd BufWritePost *.py call snowflake#run()\nautocmd InsertLeave *.py call snowflake#run()\nautocmd TextChanged,TextChangedI *.py call snowflake#run()\n```\n\n### Async\n\nUsing Vim's job and channels features for asynchronous check.\n\n### Style checkers\n\n- Flake8\n- Mypy(Experimental support)\n\n## Configurations\n\n### Integrate with other plugins\n\nsnowflake have some hook points to inject various functions.\n\n|Hook point   |Hook timing                                          |\n|:------------|:----------------------------------------------------|\n|`before_init`|Inject to snowflake#init() before called             |\n|`after_init` |Inject to snowflake#init() after called              |\n|`before_run` |Inject to snowflake#{flake8,mypy}#run() before called|\n|`after_run`  |Inject to snowflake#{flake8,mypy}#run() after called |\n\n\n#### Run Flake8, QuickFixStatus and Vim-Hier\n\n```viml\nfunction! s:snowflake_after(...)\n  execute ':QuickfixStatusEnable'\n  execute ':HierUpdate'\nendfunction\n\nlet g:snowflake_callbacks = {\n  \\ 'after_init': function('snowflake#flake8#run'),\n  \\ 'after_run': function('s:snowflake_after')\n  \\ }\n\nautocmd BufWritePost *.py call snowflake#flake8#run()\nautocmd InsertLeave *.py call snowflake#flake8#run()\nautocmd TextChanged,TextChangedI *.py call snowflake#flake8#run()\n```\n\n- Execute right after source code open\n- Show QuickFix error in statusline, and highlight QuickFix errors run\n  quickfixstatus.vim and vim-hier.\n\n#### Run Flake8, Mypy, QuickFixStatus and Vim-Hier.\n\n```viml\nfunction! s:snowflake_after(...)\n  execute ':QuickfixStatusEnable'\n  execute ':HierUpdate'\nendfunction\n\nlet g:snowflake_callbacks = {\n  \\ 'after_init': function('snowflake#run'),\n  \\ 'after_run': function('s:snowflake_after')\n  \\ }\n\nautocmd BufWritePost *.py call snowflake#run()\nautocmd InsertLeave *.py call snowflake#run()\nautocmd TextChanged,TextChangedI *.py call snowflake#run()\n```\n\n- Execute right after source code open\n- Show QuickFix error in statusline, and highlight QuickFix errors run\n  quickfixstatus.vim and vim-hier.\n\n## License\n\nNew BSD License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fvim-snowflake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheavenshell%2Fvim-snowflake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheavenshell%2Fvim-snowflake/lists"}