diff options
Diffstat (limited to 'start/lspconfig-0.1.8/lua/lspconfig/server_configurations/openscad_lsp.lua')
-rw-r--r-- | start/lspconfig-0.1.8/lua/lspconfig/server_configurations/openscad_lsp.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/openscad_lsp.lua b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/openscad_lsp.lua new file mode 100644 index 0000000..f00a377 --- /dev/null +++ b/start/lspconfig-0.1.8/lua/lspconfig/server_configurations/openscad_lsp.lua @@ -0,0 +1,22 @@ +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 +``` +]=], + }, +} |