From c47f2abddb1b0e99d162b1bc6076642b9231c486 Mon Sep 17 00:00:00 2001 From: Jaehwang Jung Date: Wed, 2 Oct 2024 14:43:54 +0900 Subject: feat: add vscoqtop (#3334) --- lua/lspconfig/configs/vscoqtop.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lua/lspconfig/configs/vscoqtop.lua (limited to 'lua') diff --git a/lua/lspconfig/configs/vscoqtop.lua b/lua/lspconfig/configs/vscoqtop.lua new file mode 100644 index 00000000..c741c6c7 --- /dev/null +++ b/lua/lspconfig/configs/vscoqtop.lua @@ -0,0 +1,17 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'vscoqtop' }, + filetypes = { 'coq' }, + root_dir = function(fname) + return util.root_pattern '_CoqProject'(fname) or util.find_git_ancestor(fname) + end, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/coq-community/vscoq +]], + }, +} -- cgit v1.2.3-70-g09d2