@likec4/lsp
v1.55.0
Published
Standalone LikeC4 Language Server for editor integrations
Maintainers
Readme
@likec4/lsp
Standalone LikeC4 Language Server for third-party editor integrations.
Self-contained, fully-bundled CommonJS binary with zero runtime dependencies. Works with Neovim, Zed, JetBrains, Helix, and any editor that supports LSP.
Installation
npm install -g @likec4/lspUsage
The likec4-lsp binary auto-detects transport from command-line arguments:
likec4-lsp --stdio
likec4-lsp --node-ipc
likec4-lsp --socket=<port>
likec4-lsp --pipe=<name>Neovim
With likec4.nvim:
{
'likec4/likec4.nvim',
build = 'npm install -g @likec4/lsp'
}Emacs
;; eglot
(add-to-list 'eglot-server-programs
'((likec4-mode) . ("likec4-lsp" "--stdio")))See #2268 for discussion on Emacs support.
Zed
See zed-likec4.
Programmatic API
const { startStandaloneLsp } = require('@likec4/lsp')
startStandaloneLsp({
loggerOptions: {
logLevel: 'debug',
},
})Getting help
We are always happy to help you get started:
- Join Discord community – it is the easiest way to get help
- GitHub Discussions – ask anything about the project or give feedback
Contributors
Support development
LikeC4 is a MIT-licensed open source project with its ongoing development made possible entirely by your support.
If you like the project, please consider contributing financially to help grow and improve it.
You can support us via OpenCollective or GitHub Sponsors.
License
This project is released under the MIT License
