mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 07:50:05 +08:00
23 lines
452 B
Lua
23 lines
452 B
Lua
local util = require 'lspconfig.util'
|
|
|
|
return {
|
|
default_config = {
|
|
cmd = { 'openscad-lsp', '--stdio' },
|
|
filetypes = { 'openscad' },
|
|
root_dir = util.find_git_ancestor,
|
|
single_file_support = true,
|
|
},
|
|
docs = {
|
|
description = [=[
|
|
https://github.com/Leathong/openscad-LSP
|
|
|
|
A Language Server Protocol server for OpenSCAD
|
|
|
|
You can build and install `openscad-lsp` binary with `cargo`:
|
|
```sh
|
|
cargo install openscad-lsp
|
|
```
|
|
]=],
|
|
},
|
|
}
|