You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setup() function takes a table with the followings keys:
vscoq: Settings specific to VsCoq, used in both the client and the server.
This corresponds to the "configuration" key in VsCoq's package.json.
lsp: The settings forwarded to :help lspconfig-setup. :help vim.lsp.ClientConfig.
Basic LSP configuration
Some settings in VsCoq's package.json should be configured in nvim's LSP client configuration:
"vscoq.path" and "vscoq.args" → lsp.cmd
"vscoq.trace.server" → lsp.trace
Key
Type
Default value
Description
lsp.cmd
string[]
{ "vscoqtop" }
Path to vscoqtop (e.g. path/to/vscoq/bin/vscoqtop) and arguments passed
lsp.trace
"off" | "messages" | "verbose"
"off"
Toggles the tracing of communications between the server and client
Memory management (since >= vscoq 2.1.7)
Key
Type
Default value
Description
vscoq.memory.limit
int
4
specifies the memory limit (in Gb) over which when a user closes a tab, the corresponding document state is discarded in the server to free up memory
Goal and info view panel
Key
Type
Default value
Description
vscoq.goals.diff.mode
"on" | "off" | "removed"
"off"
Toggles diff mode. If set to removed, only removed characters are shown
vscoq.goals.messages.full
bool
false
A toggle to include warnings and errors in the proof view
vscoq.goals.maxDepth
int
17
A setting to determine at which point the goal display starts eliding (since version >= 2.1.7 of vscoqtop)
Proof checking
Key
Type
Default value
Description
vscoq.proof.mode
"Continuous" | "Manual"
"Manual"
Decide whether documents should checked continuously or using the classic navigation commmands (defaults to Manual)
vscoq.proof.pointInterpretationMode
"Cursor" | "NextCommand"
"Cursor"
Determines the point to which the proof should be check to when using the 'Interpret to point' command
vscoq.proof.cursor.sticky
bool
true
A toggle to specify whether the cursor should move as Coq interactively navigates a document (step forward, backward, etc...)
vscoq.proof.delegation
"None" | "Skip" | "Delegate"
"None"
Decides which delegation strategy should be used by the server. Skip allows to skip proofs which are out of focus and should be used in manual mode. Delegate allocates a settable amount of workers to delegate proofs
vscoq.proof.workers
int
1
Determines how many workers should be used for proof checking
vscoq.proof.block
bool
true
Determines if the the execution of a document should halt on first error (since version >= 2.1.7 of vscoqtop)