diff options
| author | Pierre Courtieu | 2020-01-14 15:38:50 +0100 |
|---|---|---|
| committer | Pierre Courtieu | 2020-01-19 15:46:46 +0100 |
| commit | 054bed9c667344024077202cc4ca2fd4e77c4842 (patch) | |
| tree | e56f4ebd28bd9a30bf11f2740da2a76ea5632422 /CHANGES | |
| parent | bee3f802ada921fb8988edb96a8b41429f7c622c (diff) | |
Generic monadic indentation + specifically ext-lib / Compcert + doc.
This a generalization of PR#451 proposed by @Chobbes.
Since these syntax are not completely universal (and not builtin in
coq), the idea is to make the syntax customizable, especially to make
it possible to disable it.
NOTE: to make the Compcert syntax supported I had to refine the smie
lexer so that the ";" token was emitted as a fllback instead of ";
tactic".
NOTE2: I had to make the coq-user-token and coq-monadic-tokens be
tested ON THE RESULT of smie-coq-backward-token.
Diffstat (limited to 'CHANGES')
| -rw-r--r-- | CHANGES | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -60,6 +60,22 @@ and the PG Trac http://proofgeneral.inf.ed.ac.uk/trac The set of tokens can be seen in variable smie-grammar. +*** Indentation of monadic notations. + Using the extensibility for indentation described above we provide + a way to define your own monadic operators using the + coq-smie-monadic-tokens in the same spirit as coq-smie-user-tokens + above. + + By default two well established syntax are supported: + + x <- e ;; + e + + and + + do x <- e ; + e + *** Clickable Hypothesis in goals buffer to copy/paste hyp names Clicking on a hyp name in goals buffer with button 2 copies its |
