Skip to content

Add Coq (.v) file support#109

Open
larsr wants to merge 1 commit into
isaacphi:mainfrom
larsr:coq-support
Open

Add Coq (.v) file support#109
larsr wants to merge 1 commit into
isaacphi:mainfrom
larsr:coq-support

Conversation

@larsr
Copy link
Copy Markdown

@larsr larsr commented Dec 30, 2025

Add .v extension mapping to detect Coq files for coq-lsp integration.

Closes #108

STRd6 pushed a commit to STRd6/mcp-language-server that referenced this pull request May 14, 2026
Map the .v extension to languageId "coq" so coq-lsp receives a
non-empty languageId on textDocument/didOpen. Mirrors the existing
.civet -> "civet" entry pattern.

Caveat: .v is also Verilog's extension. Not relevant today since no
one ships Verilog support through this server, but the hardcoding
would need revisiting if we ever do.

Adapted from upstream PR isaacphi#109 (larsr).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant