{"id":13862587,"url":"https://github.com/PythonNut/company-flx","last_synced_at":"2025-07-14T12:31:28.735Z","repository":{"id":46065390,"uuid":"44326902","full_name":"PythonNut/company-flx","owner":"PythonNut","description":":city_sunset: Flx fuzzy matching for company","archived":false,"fork":false,"pushed_at":"2021-11-16T21:10:33.000Z","size":103,"stargazers_count":85,"open_issues_count":9,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-27T23:57:52.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PythonNut.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}},"created_at":"2015-10-15T15:26:49.000Z","updated_at":"2024-01-19T10:20:36.000Z","dependencies_parsed_at":"2022-08-29T16:20:32.367Z","dependency_job_id":null,"html_url":"https://github.com/PythonNut/company-flx","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/PythonNut%2Fcompany-flx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fcompany-flx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fcompany-flx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonNut%2Fcompany-flx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonNut","download_url":"https://codeload.github.com/PythonNut/company-flx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225974519,"owners_count":17553967,"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-08-05T06:01:48.012Z","updated_at":"2024-11-22T22:31:19.009Z","avatar_url":"https://github.com/PythonNut.png","language":"Emacs Lisp","readme":"company-flx\n===========\n\n[![MELPA](http://melpa.org/packages/company-flx-badge.svg)](http://melpa.org/#/company-flx)\n\n![screenshot](company_flx_screenshot.png)\n\nThis package adds fuzzy matching to company, powered by the sophisticated sorting heuristics in flx.\n\nUsage\n=====\n\nTo install, either clone this package directly, or execute \u003ckbd\u003eM-x\u003c/kbd\u003e `package-install` \u003ckbd\u003eRET\u003c/kbd\u003e `company-flx` \u003ckbd\u003eRET\u003c/kbd\u003e.\n\nAfter the package is installed, you can enable `company-flx` by adding the following to your init file:\n\n```emacs\n(with-eval-after-load 'company\n  (company-flx-mode +1))\n```\n\nUse the variable `company-flx-limit` to control the number of candidates that are scored by `flx`. `flx` can be slow, and the default is set rather high, so if you experience lag, consider lowering the limit.\n\nSome History\n============\n\nCrazy stuff simmers in my [`emacs-config`](https://github.com/PythonNut/emacs-config), and every once and a while, it's worth sharing. [This was no exception](https://github.com/PythonNut/emacs-config/blob/f1df3ac16410bfa72d88855325bd6c2de56f587b/modules/config-helm.el#L33#L89). It's been patiently evolving in my config for the better part of a year, and I think it's useful enough to benefit other people.\n\nAlso of interest is [company-mode/**company-mode** #47](https://github.com/company-mode/company-mode/issues/47).\n\nCaveats\n=======\n\nThis only works with the `company-capf` backend. Most sources use this backend, with the exception of the more advanced sources. Most backends should be re-written in terms of `completion-at-point-functions` eventually, although it's going to take a while.\n\nThe most important source that doesn't work is `company-dabbrev`.\n","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPythonNut%2Fcompany-flx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPythonNut%2Fcompany-flx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPythonNut%2Fcompany-flx/lists"}