{"id":13897606,"url":"https://github.com/oberblastmeister/lua-analyzer","last_synced_at":"2025-03-16T21:30:28.383Z","repository":{"id":38971074,"uuid":"346815385","full_name":"oberblastmeister/lua-analyzer","owner":"oberblastmeister","description":"A language server for lua written in rust","archived":false,"fork":false,"pushed_at":"2024-04-17T05:16:43.000Z","size":2130,"stargazers_count":63,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-22T18:26:45.637Z","etag":null,"topics":["lsp","lua","rust"],"latest_commit_sha":null,"homepage":"","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/oberblastmeister.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":"2021-03-11T19:32:15.000Z","updated_at":"2024-05-05T11:33:46.537Z","dependencies_parsed_at":"2022-09-06T00:52:16.768Z","dependency_job_id":"75a33a89-9a59-4850-bc3a-e597c6c0265a","html_url":"https://github.com/oberblastmeister/lua-analyzer","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oberblastmeister%2Flua-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oberblastmeister%2Flua-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oberblastmeister%2Flua-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oberblastmeister%2Flua-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oberblastmeister","download_url":"https://codeload.github.com/oberblastmeister/lua-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830915,"owners_count":20354850,"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":["lsp","lua","rust"],"created_at":"2024-08-06T18:03:44.270Z","updated_at":"2025-03-16T21:30:27.931Z","avatar_url":"https://github.com/oberblastmeister.png","language":"Rust","readme":"# lua-analyzer\n\nlua-analyzer is a lsp server for lua. This is mostly for me to learn the lsp protocol and language analysis so suggestions are helpful. This server is highly inspired by rust-analyzer and has a lot of code that is similar or copied from it. Currently only the parser is (partially) implemented. Please don't use this yet.\n\n## Installation\n\n```sh\ngit clone https://github.com/oberblastmeister/lua-analyzer\ncd lua-analyzer\ncargo install --path ./crates/lua-analyzer\n```\n\n## neovim lspconfig\n\nFirst add it to your configurations\n\n```lua\nlocal configs = require(\"lspconfig/configs\")\nconfigs.lua_analyzer = {\n  default_config = {\n    cmd = { \"lua-analyzer\" },\n      filetypes = {\"lua\"},\n      root_dir = util.root_pattern(\"*.lua\", vim.fn.getcwd()),\n      docs = {\n        description = [[]],\n        default_config = {root_dir = [[root_pattern(\".git\", vim.fn.getcwd())]]},\n    },\n  }\n}\n```\n\nThen you can just set it up as usual\n\n```lua\nlspconfig.lua_analyzer.setup { ... }\n```\n\n## Lsp features\n\n- [x] simple syntax diagnostics\n- [ ] completion\n- [ ] symbols\n- [ ] workspace symbols\n- [ ] renaming\n- [ ] goto definition\n- [ ] hover\n","funding_links":[],"categories":["Rust"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foberblastmeister%2Flua-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foberblastmeister%2Flua-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foberblastmeister%2Flua-analyzer/lists"}