{"id":22372274,"url":"https://github.com/smbl64/vim-black-macchiato","last_synced_at":"2025-07-30T21:31:55.889Z","repository":{"id":42242376,"uuid":"337545091","full_name":"smbl64/vim-black-macchiato","owner":"smbl64","description":"Vim plugin for black-macchiato integration ","archived":false,"fork":false,"pushed_at":"2024-08-17T14:19:57.000Z","size":8,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-01T00:49:36.584Z","etag":null,"topics":["black","black-macchiato","python","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smbl64.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}},"created_at":"2021-02-09T21:46:15.000Z","updated_at":"2024-11-17T06:59:34.000Z","dependencies_parsed_at":"2023-01-21T21:02:35.791Z","dependency_job_id":null,"html_url":"https://github.com/smbl64/vim-black-macchiato","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/smbl64%2Fvim-black-macchiato","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smbl64%2Fvim-black-macchiato/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smbl64%2Fvim-black-macchiato/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smbl64%2Fvim-black-macchiato/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smbl64","download_url":"https://codeload.github.com/smbl64/vim-black-macchiato/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228189022,"owners_count":17882555,"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":["black","black-macchiato","python","vim"],"created_at":"2024-12-04T20:35:57.094Z","updated_at":"2024-12-04T20:35:58.017Z","avatar_url":"https://github.com/smbl64.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vim-black-macchiato\n\nThis plugin provides integration with [black-macchiato][bm-url] which is a partial code formatter for Python.\n\n## Installation\n\n**Vundle:**\n\n```\nPlugin 'smbl64/vim-black-macchiato'\n```\n\n**vim-plug:**\n\n```\nPlug 'smbl64/vim-black-macchiato'\n```\n\n## Features\n\nYou can use the `:BlackMacchiato` command in normal mode to run `black-macchiato` on the current line, or in visual mode to run it on the selected lines.\n\n### Keybindings \n\nBy default no keyboard shortcut is provided. You can use `\u003cplug\u003e(BlackMacchiatoSelection)` and `\u003cplug\u003e(BlackMacchiatoCurrentLine)` to define custom keyboard shortcuts.\n\nFor example, put these in your `.vimrc` file:\n\n```\nautocmd FileType python xmap \u003cbuffer\u003e \u003cLeader\u003ef \u003cplug\u003e(BlackMacchiatoSelection)\nautocmd FileType python nmap \u003cbuffer\u003e \u003cLeader\u003ef \u003cplug\u003e(BlackMacchiatoCurrentLine)\n```\n\n## Settings\n\n### The `g:black_macchiato_path` option\n\nSet this to your `black-macchiato` installation path. \n\nDefault: `\"black-macchiato\"`\n\n### The `g:black_macchiato_args` option\n\nSet this to additional argumens you want to pass to `black-macchiato`.  For\nexample you can set it to `\"-S -l100\"` to ask `black` to skip string\nnormalization and use a longer line length.\n\nDefault: `\"\"`\n\n[bm-url]: https://github.com/wbolster/black-macchiato\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmbl64%2Fvim-black-macchiato","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmbl64%2Fvim-black-macchiato","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmbl64%2Fvim-black-macchiato/lists"}