Move lsp config to local file structure

This commit is contained in:
Never Gude 2026-01-15 17:18:59 +01:00
parent e5c3bb2492
commit 20801272fc
383 changed files with 11829 additions and 114 deletions

View file

@ -0,0 +1,27 @@
---@brief
---
--- https://github.com/dzhu/openscad-language-server
---
--- A Language Server Protocol server for OpenSCAD
---
--- You can build and install `openscad-language-server` binary with `cargo`:
--- ```sh
--- cargo install openscad-language-server
--- ```
---
--- Vim does not have built-in syntax for the `openscad` filetype currently.
---
--- This can be added via an autocmd:
---
--- ```lua
--- vim.cmd [[ autocmd BufRead,BufNewFile *.scad set filetype=openscad ]]
--- ```
---
--- or by installing a filetype plugin such as https://github.com/sirtaj/vim-openscad
---@type vim.lsp.Config
return {
cmd = { 'openscad-language-server' },
filetypes = { 'openscad' },
root_markers = { '.git' },
}