Treat Go source files as plain text files by misspell: it allows detecting issues in strings, variable names, etc. Also, it's the default mode of a standalone misspell tool. Also, implement richer and more stable auto-fix of misspell issues: now it can fix multiple issues in one line.
		
			
				
	
	
		
			18 lines
		
	
	
		
			282 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			282 B
		
	
	
	
		
			Go
		
	
	
	
	
	
//args: -Emisspell
 | 
						|
package p
 | 
						|
 | 
						|
import "log"
 | 
						|
 | 
						|
// language lala
 | 
						|
// lala language
 | 
						|
// language
 | 
						|
// language language
 | 
						|
 | 
						|
// check Language
 | 
						|
// and check langAuge
 | 
						|
 | 
						|
func langaugeMisspell() {
 | 
						|
	var language, langaugeAnd string
 | 
						|
	log.Printf("it's because of them: %s, %s", language, langaugeAnd)
 | 
						|
}
 |