nvim/pack/acp/start/nvim-lspconfig/lua/lspconfig/server_configurations/circom-lsp.lua

18 lines
375 B
Lua
Raw Normal View History

2024-04-06 13:39:53 +00:00
local util = require 'lspconfig/util'
return {
default_config = {
cmd = { 'circom-lsp' },
filetypes = { 'circom' },
root_dir = util.find_git_ancestor,
single_file_support = true,
},
docs = {
description = [[
[Circom Language Server](https://github.com/rubydusa/circom-lsp)
`circom-lsp`, the language server for the Circom language.
]],
},
}