{"id":24620130,"url":"https://github.com/amarz45/nvim-cmp-fonts","last_synced_at":"2025-10-06T12:31:08.499Z","repository":{"id":106375207,"uuid":"540126060","full_name":"amarz45/nvim-cmp-fonts","owner":"amarz45","description":"Neovim completion for fonts installed on the system","archived":false,"fork":false,"pushed_at":"2022-10-10T08:33:58.000Z","size":3624,"stargazers_count":23,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-06T17:03:34.355Z","etag":null,"topics":["fontconfig","fonts","lua","neovim","neovim-plugin","nvim-cmp","nvim-plugin"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amarz45.png","metadata":{"files":{"readme":"README.Rmd","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}},"created_at":"2022-09-22T18:52:41.000Z","updated_at":"2024-12-03T16:15:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"993f8668-6ef5-44fe-b343-9d49c8ecda1d","html_url":"https://github.com/amarz45/nvim-cmp-fonts","commit_stats":null,"previous_names":["amarz45/nvim-cmp-fonts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarz45%2Fnvim-cmp-fonts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarz45%2Fnvim-cmp-fonts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarz45%2Fnvim-cmp-fonts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amarz45%2Fnvim-cmp-fonts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amarz45","download_url":"https://codeload.github.com/amarz45/nvim-cmp-fonts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235524159,"owners_count":19003817,"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":["fontconfig","fonts","lua","neovim","neovim-plugin","nvim-cmp","nvim-plugin"],"created_at":"2025-01-25T01:03:10.588Z","updated_at":"2025-10-06T12:31:03.058Z","avatar_url":"https://github.com/amarz45.png","language":"Lua","funding_links":[],"categories":["Lua"],"sub_categories":[],"readme":"---\ntitle: nvim-cmp-fonts\noutput: amaryaml::github\n---\n\n# Preview\n\n![](preview.gif)\n\n# Introduction\n\nnvim-cmp-fonts is a completion source for\n[nvim-cmp](https://github.com/hrsh7th/nvim-cmp) that provides sources for fonts.\nThis is especially useful for editing\n[configuration](#only-for-certain-file-types) file types. It gets them from the\nfonts installed on your computer, which you can see by using the `fc-list`\ncommand. Every time you open Neovim, the list of fonts is updated.\n\n# Dependencies\n\n* fontconfig\n\n# Installation\n\n## [packer.nvim](https://github.com/wbthomason/packer.nvim)\n\n```lua\nrequire \"packer\".startup(function(use)\n\tuse \"amarakon/nvim-cmp-fonts\"\nend)\n```\n\n# Setup\n\nThe following code block shows the default options.\n\n```lua\nrequire \"cmp\".setup {\n\tsources = {\n\t\t-- Most font names have spaces in them. However, nvim-cmp restarts the\n\t\t-- completion after a space, disallowing you to complete a font name\n\t\t-- with spaces. The `space_filter` option is a way to get around this by\n\t\t-- using a different character to represent spaces. If you wish, you can\n\t\t-- set this option to a space character, but you know the downside of\n\t\t-- that.\n\t\t{ name = \"fonts\", option = { space_filter = \"-\" } }\n\t}\n}\n```\n\n## Only for certain file types\n\n```lua\n-- Only enable `fonts` for `conf` and `config` file types\nrequire \"cmp\".setup.filetype({ \"conf\", \"config\" },\n\t{ sources = { { name = \"fonts\"} } })\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarz45%2Fnvim-cmp-fonts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famarz45%2Fnvim-cmp-fonts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famarz45%2Fnvim-cmp-fonts/lists"}