{"id":25456208,"url":"https://github.com/thomas-hiron/cmp-twig-templates","last_synced_at":"2025-11-02T09:30:41.833Z","repository":{"id":277704202,"uuid":"933252340","full_name":"thomas-hiron/cmp-twig-templates","owner":"thomas-hiron","description":"nvim-cmp source for Twig templates autocompletion","archived":false,"fork":false,"pushed_at":"2025-02-15T14:28:30.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T15:30:10.623Z","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":"2025-02-15T14:19:57.000Z","updated_at":"2025-02-15T14:28:33.000Z","dependencies_parsed_at":"2025-02-15T15:40:43.408Z","dependency_job_id":null,"html_url":"https://github.com/thomas-hiron/cmp-twig-templates","commit_stats":null,"previous_names":["thomas-hiron/cmp-twig-templates"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-hiron%2Fcmp-twig-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomas-hiron","download_url":"https://codeload.github.com/thomas-hiron/cmp-twig-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239392575,"owners_count":19630865,"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":["neovim","neovim-plugin","neovim-plugin-lua","nvim-cmp"],"created_at":"2025-02-18T01:29:27.612Z","updated_at":"2025-11-02T09:30:41.767Z","avatar_url":"https://github.com/thomas-hiron.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmp-twig-templates\n\n[nvim-cmp](https://github.com/hrsh7th/nvim-cmp) source for twig templates\nlocated in project directory /templates.  \n\n[FD](https://github.com/sharkdp/fd) is a required dependency.\n\nTemplates are refreshed every 30 seconds.\n\n## Setup\n\n```lua\nrequire('cmp').setup({\n  sources = {\n    { name = 'twig_templates' },\n  },\n})\n```\n\n## Triggers\n\nThe plugin is activated for `php` and `twig` filetypes.  \nThe trigger character is a single quote, and the line must contains\n`render` or `include`. This covers most of Symfony and twig\nfunctions used to generate URLs:\n- PHP\n  - render\n  - renderView\n- Twig\n  - include\n\n## Configuration\n\nThere is no configuration at the moment.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-hiron%2Fcmp-twig-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomas-hiron%2Fcmp-twig-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-hiron%2Fcmp-twig-templates/lists"}