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"
 | 
						|
 | 
						|
// langauge lala
 | 
						|
// lala langauge
 | 
						|
// langauge
 | 
						|
// langauge langauge
 | 
						|
 | 
						|
// check Langauge
 | 
						|
// and check langAuge
 | 
						|
 | 
						|
func langaugeMisspell() {
 | 
						|
	var langauge, langaugeAnd string
 | 
						|
	log.Printf("it's becouse of them: %s, %s", langauge, langaugeAnd)
 | 
						|
}
 |