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
Company/PG has the command M-x company-coq-occur (bound to C-c C-, in my case), which gives an outline of the curent lemmas/definitions/etc. However, it doesn’t follow the coqdoc structure. I use special comments to structure my script, like
Sure thing. The proper way to do this would probably be to move away from occur and do a proper TOC buffer, but for now you could start with changing the line that calls occur in company-coq-occur to (occur (format "\\(?:%s\\|%s\\)" company-coq-outline-regexp-base (caar company-coq-features/coqdoc--spec))). Do you want to try that?
See also: https://coq.discourse.group/t/pg-company-structured-outline-mode/798
Company/PG has the command
M-x company-coq-occur
(bound toC-c C-,
in my case), which gives an outline of the curent lemmas/definitions/etc. However, it doesn’t follow the coqdoc structure. I use special comments to structure my script, likeIt would be nice to have an outline like this in PG/Company, like reftex's TOC (
M-x reftex-toc
). This would help navigating in large .v files.The text was updated successfully, but these errors were encountered: