Skip to content

Commit

Permalink
feat: add coq-lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtomjhj committed Oct 2, 2023
1 parent 50fcf96 commit 2ff2de6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lua/lspconfig/server_configurations/coq_lsp.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'coq-lsp' },
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/ejgallego/coq-lsp/
]],
},
}

0 comments on commit 2ff2de6

Please sign in to comment.