{"id":13595809,"url":"https://github.com/neoclide/coc-pairs","last_synced_at":"2025-05-15T12:04:45.769Z","repository":{"id":50115776,"uuid":"164816158","full_name":"neoclide/coc-pairs","owner":"neoclide","description":"Basic auto pairs extension of coc.nvim","archived":false,"fork":false,"pushed_at":"2025-05-02T13:36:52.000Z","size":92,"stargazers_count":298,"open_issues_count":5,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-05-02T14:57:50.173Z","etag":null,"topics":["auto-pairs","coc","neovim","pairs","vim"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/neoclide.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-01-09T07:58:04.000Z","updated_at":"2025-05-02T13:36:56.000Z","dependencies_parsed_at":"2024-01-14T15:26:04.096Z","dependency_job_id":"28946292-591a-4d90-840e-1584aca0a688","html_url":"https://github.com/neoclide/coc-pairs","commit_stats":{"total_commits":89,"total_committers":11,"mean_commits":8.090909090909092,"dds":0.1348314606741573,"last_synced_commit":"ce8104adcf46e5933510468cc03098a77f6c69e5"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-pairs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-pairs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-pairs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neoclide%2Fcoc-pairs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neoclide","download_url":"https://codeload.github.com/neoclide/coc-pairs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254337612,"owners_count":22054253,"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":["auto-pairs","coc","neovim","pairs","vim"],"created_at":"2024-08-01T16:01:58.166Z","updated_at":"2025-05-15T12:04:40.749Z","avatar_url":"https://github.com/neoclide.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# coc-pairs\n\nAuto pair extension for [coc.nvim](https://github.com/neoclide/coc.nvim).\n\n**Note** you can use other vim auto pairs plugins with coc.nvim, it's a\nsimplified implementation to make auto pairs work like in VSCode.\n\n**Note** `b:coc_paires` have renamed to `b:coc_pairs`\n\nFor enhanced `\u003cCR\u003e` experience, checkout `:h coc#on_enter()`.\n\n## Tips\n\n- You should disable/remove other auto pair plugins for this extension work as expected.\n- When you type a paired character which is just the next character, it would just move to the right by one column.\n- When the previous content ends with two inserting characters, the characters would just be inserted without inserting the paired character. This makes inserting triple quotes easier.\n- `'` only pairs when the character before is not a word character.\n- for `\u003c` to insert paired `\u003e`, the previous character should not be an empty space.\n\n## Install\n\nIn vim/neovim, run this command:\n\n```\n:CocInstall coc-pairs\n```\n\n## Features\n\n- Insert pair characters automatically.\n- Buffer local pairs, ex: `autocmd FileType tex let b:coc_pairs = [[\"$\", \"$\"]]`\n\n## Options\n\n- `pairs.disableLanguages`: A list of languages IDs to disable this extension on  Default: `[]`\n- `pairs.disableBuftypes`: A list of buftypes to disable this extension on  Default: `[]`\n- `pairs.enableCharacters`: Enabled character list for keymap.  Default: `[\"(\",\"[\",\"{\",\"\u003c\",\"'\",\"\\\"\",\"`\",\"【\",\"「\",\"《\",\"『\"]`\n- `pairs.requireEOLCharacters`: Characters should be only paired at end of line.  Default: `[]`\n- `pairs.alwaysPairCharacters`: Characters that should be paired without check for next character.  Default: `[]`\n- `pairs.enableBackspace`: Remap your backspce to delete paired characters when necessary, won't work when \u003cbs\u003e already mapped.  Default: `true`\n\nTo disable characters for a specified filetypes, you can use `b:coc_pairs_disabled`, ex:\n\n    autocmd FileType markdown let b:coc_pairs_disabled = ['`']\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoclide%2Fcoc-pairs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneoclide%2Fcoc-pairs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneoclide%2Fcoc-pairs/lists"}