aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Hansen <frederik@altofte.dk>2026-06-19 00:54:53 +0200
committerGitHub <noreply@github.com>2026-06-18 18:54:53 -0400
commit3d0f9acfef4e13c5448d17fa09fa38a170d39f42 (patch)
tree54b7d20e5ddf11ee563f2518eecd87be08c30efb
parentdocs: update generated annotations (diff)
downloadnvim-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.lua26
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' },
+}