mirror of
				https://github.com/vim/vim.git
				synced 2025-10-30 09:47:20 -04:00 
			
		
		
		
	updated for version 7.3.576
Problem: Formatting of lists inside comments is not right yet. Solution: Use another solution and add a test. (Tor Perkins)
This commit is contained in:
		| @@ -50,6 +50,17 @@ a b | ||||
| #a b | ||||
| } | ||||
|  | ||||
| STARTTEST | ||||
| /^{/+1 | ||||
| :set tw=5 fo=tcn comments=:# | ||||
| A bjA b | ||||
| ENDTEST | ||||
|  | ||||
| { | ||||
|   1 a | ||||
| # 1 a | ||||
| } | ||||
|  | ||||
| STARTTEST | ||||
| /^{/+1 | ||||
| :set tw=5 fo=qn comments=:# | ||||
| @@ -82,6 +93,14 @@ ENDTEST | ||||
|    2bb | ||||
| } | ||||
|  | ||||
| STARTTEST | ||||
| /^#/ | ||||
| :setl tw=12 fo=tqnc comments=:# | ||||
| A foobar | ||||
| ENDTEST | ||||
|  | ||||
| # 1 xxxxx | ||||
|  | ||||
| STARTTEST | ||||
| :g/^STARTTEST/.,/^ENDTEST/d | ||||
| :1;/^Results/,$wq! test.out | ||||
|   | ||||
		Reference in New Issue
	
	Block a user