diff options
| author | Frederik Hansen <frederik@altofte.dk> | 2026-06-19 00:54:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-18 18:54:53 -0400 |
| commit | 3d0f9acfef4e13c5448d17fa09fa38a170d39f42 (patch) | |
| tree | 54b7d20e5ddf11ee563f2518eecd87be08c30efb | |
| parent | docs: update generated annotations (diff) | |
| download | nvim-lspconfig-3d0f9acfef4e13c5448d17fa09fa38a170d39f42.tar nvim-lspconfig-3d0f9acfef4e13c5448d17fa09fa38a170d39f42.tar.gz nvim-lspconfig-3d0f9acfef4e13c5448d17fa09fa38a170d39f42.tar.bz2 nvim-lspconfig-3d0f9acfef4e13c5448d17fa09fa38a170d39f42.tar.lz nvim-lspconfig-3d0f9acfef4e13c5448d17fa09fa38a170d39f42.tar.xz nvim-lspconfig-3d0f9acfef4e13c5448d17fa09fa38a170d39f42.tar.zst nvim-lspconfig-3d0f9acfef4e13c5448d17fa09fa38a170d39f42.zip | |
added µcad lsp #4454
| -rw-r--r-- | lsp/microcad_lsp.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lsp/microcad_lsp.lua b/lsp/microcad_lsp.lua new file mode 100644 index 00000000..f7eb7858 --- /dev/null +++ b/lsp/microcad_lsp.lua @@ -0,0 +1,26 @@ +---@brief +--- https://codeberg.org/microcad/microcad/src/branch/main/crates/lsp +--- +--- An LSP for the µcad model description language +--- +--- Install with +--- ```sh +--- cargo install microcad-lsp +--- ``` +--- Neovim does not detect µcad filetype automatically, so you will need to add the following to your +--- +--- ```lua +--- vim.filetype.add { +--- extension = { +--- µcad = 'microcad', +--- }, +--- } +--- ``` + +---@type vim.lsp.Config +return { + name = 'microcad_lsp', + cmd = { 'microcad-lsp', '--stdio' }, + filetypes = { 'microcad' }, + root_markers = { '.git' }, +} |
