{"id":13897573,"url":"https://github.com/willothy/luahint","last_synced_at":"2025-05-05T16:29:04.492Z","repository":{"id":171225822,"uuid":"647593729","full_name":"willothy/luahint","owner":"willothy","description":"LSP inline hints for Lua, intended for use with Neovim.","archived":false,"fork":false,"pushed_at":"2023-05-31T12:41:03.000Z","size":32,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T22:24:33.158Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willothy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-05-31T05:48:12.000Z","updated_at":"2024-03-13T14:04:54.000Z","dependencies_parsed_at":"2024-01-13T06:05:39.881Z","dependency_job_id":null,"html_url":"https://github.com/willothy/luahint","commit_stats":null,"previous_names":["willothy/luahint"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fluahint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fluahint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fluahint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willothy%2Fluahint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willothy","download_url":"https://codeload.github.com/willothy/luahint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252533459,"owners_count":21763601,"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-06T18:03:42.453Z","updated_at":"2025-05-05T16:29:04.430Z","avatar_url":"https://github.com/willothy.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# luahint\n\nLSP inline hints for Lua, intended for use with Neovim.\n\nNow that inline hints are working in Neovim nightly, I figured I'd attempt to build an LSP-adjacent project. Luahint provides inline parameter hints via LSP, and potentially more in the future. It's a work in progress right now, but here's a screenshot:\n\n![LuahintDemo](https://github.com/willothy/luahint/assets/38540736/490e4100-914a-4895-95e6-e8c40c85a23f)\n\n## Goals\n\n- [x] Basic function parameter hints\n- [ ] Index entire runtime (currently only indexes single file)\n- [ ] Table function parameter hints\n- [ ] Method parameter hints\n- [ ] Metamethod parameter hints\n- [ ] Emmylua type hints\n\n## Installation\n\nWith `lazy.nvim`\n\n```lua\n{\n\t\"willothy/luahint\",\n\tbuild = \"cargo install --path=./\",\n\tconfig = true\n\t-- or opts = { ... }\n}\n```\n\n## Configuration\n\nLuahint comes with the following defaults:\n\n```lua\n{\n\t-- string[] | string\n\t-- Autocommands that should trigger a refresh\n\tupdate = {\n\t\t\"CursorHold\",\n\t\t\"CursorHoldI\",\n\t\t\"InsertLeave\",\n\t\t\"TextChanged\",\n\t},\n\n\t-- boolean\n\t-- Whether to enable the plugin at startup\n\tenabled_at_startup = true,\n\n\t-- fun(): string\n\t-- Function to determine the root directory of the project\n\troot_dir = vim.fn.getcwd,\n}\n```\n\n## Usage\n\n```lua\nlocal hints = require(\"luahint\")\n\n-- show the hints\nhints.show()\n\n-- hide the hints\nhints.hide()\n\n-- toggle the hints\nhints.toggle()\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillothy%2Fluahint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillothy%2Fluahint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillothy%2Fluahint/lists"}