{"id":25802969,"url":"https://github.com/thomas-hiron/cmp-twig","last_synced_at":"2025-08-18T19:09:13.872Z","repository":{"id":224394821,"uuid":"763149461","full_name":"thomas-hiron/cmp-twig","owner":"thomas-hiron","description":"nvim-cmp source for twig filters and functions autocompletion","archived":false,"fork":false,"pushed_at":"2024-04-21T09:34:02.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T23:21:21.957Z","etag":null,"topics":["neovim","neovim-plugin","neovim-plugin-lua","nvim-cmp"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/thomas-hiron.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":"2024-02-25T17:28:48.000Z","updated_at":"2024-11-04T19:35:31.000Z","dependencies_parsed_at":"2024-04-21T10:37:22.066Z","dependency_job_id":"5d2395de-94df-4e32-a79c-1664dae54280","html_url":"https://github.com/thomas-hiron/cmp-twig","commit_stats":null,"previous_names":["thomas-hiron/cmp-twig"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thomas-hiron/cmp-twig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomas-hiron","download_url":"https://codeload.github.com/thomas-hiron/cmp-twig/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271043887,"owners_count":24689846,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["neovim","neovim-plugin","neovim-plugin-lua","nvim-cmp"],"created_at":"2025-02-27T17:36:59.787Z","updated_at":"2025-08-18T19:09:13.858Z","avatar_url":"https://github.com/thomas-hiron.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmp-twig\n\n### ⚠️  This repo has been moved ⚠️\n\nThis code has been merged to https://github.com/thomas-hiron/cmp-symfony.\n\n---\n\n[nvim-cmp](https://github.com/hrsh7th/nvim-cmp) source for twig.  \nThis plugin autocompletes twig filters and functions located in \n`src` directory.  \nThe native filters and functions are also available.\n\nFilters:  \n![Autocomplete](./docs/filters.png)\n\nFunctions:  \n![Autocomplete](./docs/functions.png)\n\nFilters and functions are refreshed every 30 seconds.\n\n## Prerequisites\n- [ripgrep](https://github.com/BurntSushi/ripgrep) to search for \nfilters and functions\n\n## Setup\n\n```lua\nrequire('cmp').setup({\n  sources = {\n    { name = 'twig' },\n  },\n})\n```\n\n## Triggers\n\nThe plugin is activated for `twig` filetype.  \nThere are three trigger characters:\n- pipe triggers filters completion\n- space and open parenthesis trigger functions completion\n\n## Configuration\n\nThere is no configuration at the moment.\n\n## Todo\n\n- Configure filetypes\n- Configure filters and functions location\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-hiron%2Fcmp-twig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomas-hiron%2Fcmp-twig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-hiron%2Fcmp-twig/lists"}