From dc3e1b25a1da2de5461c00b877f7eb2fdd906800 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Fri, 18 Mar 2022 22:46:05 -0400 Subject: feat: add mm0 language support (#1787) This is a theorem prover (https://github.com/digama0/mm0) in some sense related to the existing (supported) Lean theorem prover. --- lua/lspconfig/server_configurations/mm0_ls.lua | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lua/lspconfig/server_configurations/mm0_ls.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/mm0_ls.lua b/lua/lspconfig/server_configurations/mm0_ls.lua new file mode 100644 index 00000000..513bbeb9 --- /dev/null +++ b/lua/lspconfig/server_configurations/mm0_ls.lua @@ -0,0 +1,20 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'mm0-rs', 'server' }, + root_dir = util.find_git_ancestor, + filetypes = { 'metamath-zero' }, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/digama0/mm0 + +Language Server for the metamath-zero theorem prover. + +Requires [mm0-rs](https://github.com/digama0/mm0/tree/master/mm0-rs) to be installed +and available on the `PATH`. + ]], + }, +} -- cgit v1.2.3-70-g09d2