{"id":18862669,"url":"https://github.com/zk-phi/git-complete-company","last_synced_at":"2026-02-10T15:30:20.084Z","repository":{"id":152679681,"uuid":"335176320","full_name":"zk-phi/git-complete-company","owner":"zk-phi","description":"git-complete backend for company","archived":false,"fork":false,"pushed_at":"2021-02-28T17:34:26.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T21:16:01.622Z","etag":null,"topics":["emacs"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","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/zk-phi.png","metadata":{"files":{"readme":"Readme.markdown","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}},"created_at":"2021-02-02T05:14:50.000Z","updated_at":"2022-01-31T11:50:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"bdb9634f-8206-4a3a-ad95-64c3591ee72d","html_url":"https://github.com/zk-phi/git-complete-company","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/zk-phi%2Fgit-complete-company","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-phi%2Fgit-complete-company/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-phi%2Fgit-complete-company/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zk-phi%2Fgit-complete-company/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zk-phi","download_url":"https://codeload.github.com/zk-phi/git-complete-company/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239808130,"owners_count":19700440,"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":["emacs"],"created_at":"2024-11-08T04:35:25.982Z","updated_at":"2026-02-10T15:30:20.021Z","avatar_url":"https://github.com/zk-phi.png","language":"Emacs Lisp","readme":"# git-complete-company\n\nis a git-complete backend for company.\n\nSee `git-complete` repository for completion algorithm details.\n\n## Usage\n\nThis package provides two company-backends:\n\n- `git-complete-company-whole-line-backend`\n\n  company-backend which performs completion with \"whole current-line\n  completion\" algorithm implemented in `git-complete`.\n\n- `git-complete-company-omni-backend`\n\n  company-backend which performs completion with either \"omni\n  current-line completion\" or \"omni next-line completion\" algorithm\n  implemented in `git-complete`.\n\nTo enable these backends, add them to `company-backends` list.\n\n```emacs-lisp\n(setq company-backends\n      '(git-complete-company-omni-backend\n        git-complete-company-whole-line-backend\n        ...))\n```\n\nNote that these backends are much slower than other backends to\ncollect and filter completion candidates. So they are (by default)\nconfigured not to start automatically. When (and only when) you invoke\ncompany explicitly (with `company-manual-begin` or similar commands),\nthese backends start to work.\n\nThis behavior can be changed by setting\n`git-complete-company-manual-only` `nil`, but it's not recommended.\n\n## Limitations\n\nUnlike the original `git-complete` command, `git-complete-company` is\nimplemented as two different backends. So they cannot be used at the\nsame time (i.e. when \"whole-line\" backend finds some candidates,\n\"omni\" backend does not work at all). You can still choose which\nbackend will take precedence by changing the order of\n`company-backends`, but `git-complete-company` perhaps is not as\nuseful as the original command.\n\nA good news is: I'm currently working on another omni completion\nbackend called `company-symbol-after-symbol`, which is fast enough and\ncomes with auto-start feature. So it may be a good idea to use it for\nomni completion (instead of `git-complete-company-omni-backend`), and\nuse `git-complete-company` just for \"whole-line\" completion.\n\n```emacs-lisp\n(setq company-backends\n      '(git-complete-company-whole-line-backend\n        company-symbol-after-symbol\n        ...))\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk-phi%2Fgit-complete-company","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzk-phi%2Fgit-complete-company","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzk-phi%2Fgit-complete-company/lists"}