mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	updated for version 7.3.612
Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX) Solution: Decrement "less_cols". (Tor Perkins)
This commit is contained in:
		| @@ -93,6 +93,16 @@ ENDTEST | ||||
|    2bb | ||||
| } | ||||
|  | ||||
| STARTTEST | ||||
| /mno pqr/ | ||||
| :setl tw=20 fo=an12wcq comments=s1:/*,mb:*,ex:*/ | ||||
| A vwx yz | ||||
| ENDTEST | ||||
|  | ||||
| /* abc def ghi jkl  | ||||
|  *    mno pqr stu | ||||
|  */ | ||||
|  | ||||
| STARTTEST | ||||
| /^#/ | ||||
| :setl tw=12 fo=tqnc comments=:# | ||||
|   | ||||
| @@ -57,6 +57,12 @@ a b | ||||
| { 1aa ^^2bb } | ||||
|  | ||||
|  | ||||
| /* abc def ghi jkl  | ||||
|  *    mno pqr stu  | ||||
|  *    vwx yz | ||||
|  */ | ||||
|  | ||||
|  | ||||
| # 1 xxxxx | ||||
| #   foobar | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user