{"id":13502883,"url":"https://github.com/metafates/buffer-language-server","last_synced_at":"2025-06-10T15:37:43.287Z","repository":{"id":183423595,"uuid":"670139627","full_name":"metafates/buffer-language-server","owner":"metafates","description":"💬 LSP that can autocomplete words found in the opened buffer","archived":false,"fork":false,"pushed_at":"2023-07-24T12:01:03.000Z","size":15,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-15T05:18:25.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/metafates.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}},"created_at":"2023-07-24T11:34:06.000Z","updated_at":"2025-02-21T12:56:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"edfab4c0-5832-4b32-9b30-f787a232c827","html_url":"https://github.com/metafates/buffer-language-server","commit_stats":null,"previous_names":["metafates/buffer-language-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafates%2Fbuffer-language-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafates%2Fbuffer-language-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafates%2Fbuffer-language-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafates%2Fbuffer-language-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metafates","download_url":"https://codeload.github.com/metafates/buffer-language-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metafates%2Fbuffer-language-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259103722,"owners_count":22805744,"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-07-31T22:02:28.334Z","updated_at":"2025-06-10T15:37:43.259Z","avatar_url":"https://github.com/metafates.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# buffer-language-server\n\n[![asciicast](https://asciinema.org/a/MiLyGWxpb6KzmHqJd3Ha1ANXm.svg)](https://asciinema.org/a/MiLyGWxpb6KzmHqJd3Ha1ANXm)\n\n\u003e **Warning** This is just a proof-of-concept. Does not support Unicode (yet).\n\nLanguage server that can autocomplete words found in the current buffer.\n\nThis is primary made for the [Helix editor](https://github.com/helix-editor/helix)\nwhich currently lacks this functionality. See https://github.com/helix-editor/helix/issues/1063\n\nCurrently, it can only autocomplete the words[^1] found in the current buffer.\n\n## Install\n\n### Cargo\n\n```bash\ncargo install buffer-language-server\n```\n\n### From source\n\n```bash\ncargo install --git https://github.com/metafates/buffer-language-server\n```\n\n## Use in your editor\n\n### Helix\n\nIf you are using the stable version (\u003c= 23.05), which doesn't support multiple language servers yet,\nadd these lines to your `languages.toml` (if you want to enable this LSP for the markdown files)\n\n```toml\n[[language]]\nname = \"markdown\"\nlanguage-server = { command = \"buffer-language-server\" }\n```\n\nOtherwise (you will need the Helix editor compiled from the HEAD [latest commit])\n\nAdd these lines to your `languages.toml`\n\n```toml\n[language-server.buffer-language-server]\ncommand = \"buffer-language-server\"\n```\n\nThen you can use it as an additional language server.\n\n```toml\n[[language]]\nname = \"markdown\"\nlanguage-servers = [\"buffer-language-server\"]\n\n[[language]]\nname = \"my-language\"\nlanguage-servers = [\"buffer-language-server\"]\n```\n\n[^1]: \"Word\" is defined as a sequence of ASCII characters without whitespace nor punctuation. For example, `one,two,three four!five` contains 5 words.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafates%2Fbuffer-language-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetafates%2Fbuffer-language-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetafates%2Fbuffer-language-server/lists"}