forked from whonore/Coqtail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove 'n' flag from ending part of
comments
(whonore#307)
Fixes whonore#305, whonore#306 I'm not 100% sure why this works, or whether the flag is actually doing anything useful in the comment opener, but I'll leave it for now.
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
" Author: Wolf Honore | ||
" Coq comment formatting unit tests. | ||
|
||
Before: | ||
set textwidth=40 | ||
set formatoptions+=qj | ||
|
||
Given coq (join-comment): | ||
(* Lorem ipsum dolor sit amet, | ||
* consectetur adipiscing elit. *) | ||
|
||
Do (join-comment): | ||
J | ||
|
||
Expect coq (join-comment): | ||
(* Lorem ipsum dolor sit amet, consectetur adipiscing elit. *) | ||
|
||
Given coq (format-long-comment): | ||
(* Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eleifend mauris et lectus rhoncus, at feugiat sapien euismod. *) | ||
|
||
Do (format-long-comment): | ||
gqq | ||
|
||
Expect coq (format-long-comment): | ||
(* Lorem ipsum dolor sit amet, | ||
* consectetur adipiscing elit. Nam | ||
* eleifend mauris et lectus rhoncus, at | ||
* feugiat sapien euismod. *) |