{"id":18248996,"url":"https://github.com/antznin/cmp-bitbake-path","last_synced_at":"2025-04-11T18:11:24.618Z","repository":{"id":113773637,"uuid":"562557230","full_name":"antznin/cmp-bitbake-path","owner":"antznin","description":"nvim-cmp source for files in SRC_URI","archived":false,"fork":false,"pushed_at":"2023-12-16T02:22:39.000Z","size":4,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T14:06:32.369Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/antznin.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":"2022-11-06T18:05:07.000Z","updated_at":"2024-08-27T04:54:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"368fb2f8-2477-47cd-8773-ef06bb0f4f42","html_url":"https://github.com/antznin/cmp-bitbake-path","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antznin%2Fcmp-bitbake-path","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antznin%2Fcmp-bitbake-path/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antznin%2Fcmp-bitbake-path/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antznin%2Fcmp-bitbake-path/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antznin","download_url":"https://codeload.github.com/antznin/cmp-bitbake-path/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248456364,"owners_count":21106603,"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":[],"created_at":"2024-11-05T09:38:54.605Z","updated_at":"2025-04-11T18:11:24.599Z","avatar_url":"https://github.com/antznin.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cmp-bitbake-path\n\nnvim-cmp source for filesystem path to include in SRC\\_URI variables.\n\nFor example, assuming you have the following structure:\n\n```\nrecipe\n├── files\n│   ├── 0001.patch\n│   └── 0002.patch\n└── recipe_1.0.bb\n```\n\nWhile editing `recipe_1.0.bb`, completion will be available when writing:\n\n![completion](https://user-images.githubusercontent.com/37036499/200187965-27971a01-e66d-46b9-899c-9601387b7405.png)\n\n\u003e Heavily based off [`hrsh7th/cmp-path`](https://github.com/hrsh7th/cmp-path).\n\n# Install\n\nInstall with [`packer`](https://github.com/wbthomason/packer.nvim):\n\n```lua\nuse 'antznin/cmp-bitbake-path'\n```\n\n# Setup\n\n```lua\nrequire'cmp'.setup {\n  sources = {\n    { name = 'bitbake_path' }\n  }\n}\n```\n\n# Configuration\n\nThe below source configuration options are available. To set any of\nthese options, do:\n\n```lua\ncmp.setup({\n  sources = {\n    {\n      name = 'bitbake_path',\n      option = {\n        -- Options go into this table\n      },\n    },\n  },\n})\n```\n\n\n## trailing_slash (type: boolean)\n\n_Default:_ `false`\n\nSpecify if completed directory names should include a trailing slash.\nEnabling this option makes this source behave like Vim's built-in path\ncompletion.\n\n## label_trailing_slash (type: boolean)\n\n_Default:_ `true`\n\nSpecify if directory names in the completion menu should include a\ntrailing slash.\n\n## get_cwd (type: function)\n\n_Default:_ returns the current working directory of the current buffer\n\nSpecifies the base directory for relative paths.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantznin%2Fcmp-bitbake-path","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantznin%2Fcmp-bitbake-path","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantznin%2Fcmp-bitbake-path/lists"}