{"_id":"@binhtran432k/langiumls","name":"@binhtran432k/langiumls","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@binhtran432k/langiumls","author":{"name":"Binh Tran","email":"binhtran432k@gmail.com"},"version":"0.0.1","repository":{"type":"git","url":"git://github.com/binhtran432k/langiumls.git"},"license":"MIT","type":"module","bin":{"langiumls":"bin/server.js"},"scripts":{"build":"tsc","ci":"biome ci .","check":"biome check .","check:apply":"biome check --apply-unsafe ."},"devDependencies":{"@biomejs/biome":"1.5.3","@types/bun":"latest"},"peerDependencies":{"typescript":"^5.0.0"},"dependencies":{"ignore":"^5.3.1","langium":"^3.0.0"},"_id":"@binhtran432k/langiumls@0.0.1","gitHead":"4e485eab410d88b30459efe4b38dea904e3b9273","description":"This project provides a Language Server Protocol (LSP) implementation for the Langium language, enabling integration with various code editors beyond just Visual Studio Code.","bugs":{"url":"https://github.com/binhtran432k/langiumls/issues"},"homepage":"https://github.com/binhtran432k/langiumls#readme","_nodeVersion":"18.19.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-tKSnPaWgX4LNCWq3td266cJJuOUovik2XZZHyVFNE2oZTxbgJ0062paX8QxxalxQEdtDQbRVmka1LjmieJFDSA==","shasum":"e2ff17528d010b1386fac7986b0b62f1001194c5","tarball":"https://registry.npmjs.org/@binhtran432k/langiumls/-/langiumls-0.0.1.tgz","fileCount":11,"unpackedSize":10032,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIByRsTnigqh2mYtbOuFXRW6x8y7U0OGVRG1axiFH+lQeAiEAjqYFO5QRAsblNb8xgKa1yjPY1jZkC3PHk8Mb9MFdlhw="}]},"_npmUser":{"name":"binhtran432k","email":"binhtran432k@gmail.com"},"directories":{},"maintainers":[{"name":"binhtran432k","email":"binhtran432k@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/langiumls_0.0.1_1710228140446_0.3550431000807821"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-12T07:22:20.278Z","0.0.1":"2024-03-12T07:22:20.599Z","modified":"2024-03-12T07:22:21.185Z"},"maintainers":[{"name":"binhtran432k","email":"binhtran432k@gmail.com"}],"description":"This project provides a Language Server Protocol (LSP) implementation for the Langium language, enabling integration with various code editors beyond just Visual Studio Code.","homepage":"https://github.com/binhtran432k/langiumls#readme","repository":{"type":"git","url":"git://github.com/binhtran432k/langiumls.git"},"author":{"name":"Binh Tran","email":"binhtran432k@gmail.com"},"bugs":{"url":"https://github.com/binhtran432k/langiumls/issues"},"license":"MIT","readme":"# Langium Language Server\n\nThis project provides a Language Server Protocol (LSP) implementation for the\nLangium language, enabling integration with various code editors beyond just\nVisual Studio Code.\n\n## Motivation\n\nThe official Langium library currently lacks a language server for editors\noutside VSCode. This project aims to fill this gap by offering an LSP server\nbased on the Langium library, published on NPM for broader use.\n\n## Neovim Tutorial\n\nHere's how to configure Neovim to utilize the Langium Language Server:\n\n1. **Add langiumls config to lspconfig**\n\n```lua\nlocal lspconfig = require(\"lspconfig\")\nrequire(\"lspconfig.configs\").langiumls = {\n  default_config = {\n    -- Replace with the actual path to the Langium Language Server executable\n    cmd = { \"langiumls\", \"--stdio\" },\n    filetypes = { \"langium\" },\n    single_file_support = true,\n    root_dir = lspconfig.util.root_pattern(\"tsconfig.json\", \"package.json\", \"jsconfig.json\", \".git\"),\n    settings = {\n      langium = {\n        build = {\n          ignorePatterns = \"node_modules, out\",\n        },\n      },\n    },\n  },\n}\n```\n\n2. **Setup Neovim for langiumls**\n\n```lua\nrequire(\"lspconfig\").langiumls.setup({})\n```\n","readmeFilename":"README.md"}