{"id":19863135,"url":"https://github.com/lcian/gringo-language-server","last_synced_at":"2026-05-10T21:48:33.260Z","repository":{"id":250118754,"uuid":"833349945","full_name":"lcian/gringo-language-server","owner":"lcian","description":"🛠️ Language Server for gringo (Answer Set Programming)","archived":false,"fork":false,"pushed_at":"2024-09-13T11:13:23.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T15:21:41.588Z","etag":null,"topics":["answer-set-programming","language-server-protocol","logic-programming","lsp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lcian.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-24T21:35:31.000Z","updated_at":"2024-10-13T11:51:39.000Z","dependencies_parsed_at":"2025-01-11T15:20:52.243Z","dependency_job_id":"c8f9cc4f-6a38-472a-aacd-6d3b8fdbca38","html_url":"https://github.com/lcian/gringo-language-server","commit_stats":null,"previous_names":["lcian/gringo-language-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcian%2Fgringo-language-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcian%2Fgringo-language-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcian%2Fgringo-language-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lcian%2Fgringo-language-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lcian","download_url":"https://codeload.github.com/lcian/gringo-language-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241272618,"owners_count":19937091,"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":["answer-set-programming","language-server-protocol","logic-programming","lsp"],"created_at":"2024-11-12T15:13:41.878Z","updated_at":"2026-05-10T21:48:28.229Z","avatar_url":"https://github.com/lcian.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gringo-language-server\n\nThis is an LSP server for the gringo (clasp, Answer Set Programming) language.\n\nIt provides errors, warnings and code completion.\n\n![](./media/demo.gif)\n\n# Installation (Neovim)\n\n0. install Rust: `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`\n\n1. install this LSP server: `cargo install --git https://github.com/lcian/gringo-language-server`\n\n2. add the following code to your `init.lua`:\n\n```lua\nvim.filetype.add({\n    extension = {\n        lp = \"gringo\"\n    }\n})\n\nlocal name = \"gringo-language-server\"\nlocal client = vim.lsp.start_client {\n    name = name,\n    cmd = { name },\n}\nif not client then\n    vim.notify (\"Something went wrong when starting \" .. name)\n    return\nend\n\nvim.api.nvim_create_autocmd(\"FileType\", {\n    pattern = \"gringo\",\n    callback = function ()\n        vim.lsp.buf_attach_client(0, client)\n    end,\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcian%2Fgringo-language-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flcian%2Fgringo-language-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flcian%2Fgringo-language-server/lists"}