Add error list
This commit is contained in:
		@@ -1,6 +1,14 @@
 | 
			
		||||
scriptencoding utf-8
 | 
			
		||||
let s:ERRORS = {
 | 
			
		||||
            \ 'E001' : ['中文字符后使用英文标点', '[^a-zA-Z],'],
 | 
			
		||||
            \ 'E002' : ['中英文之间需要增加空格', ''],
 | 
			
		||||
            \ 'E003' : ['中文与数字之间需要增加空格', ''],
 | 
			
		||||
            \ 'E004' : ['数字与单位之间需要增加空格', ''],
 | 
			
		||||
            \ 'E005' : ['全角标点与其他字符之间不加空格', ''],
 | 
			
		||||
            \ 'E006' : ['不重复使用标点符号', ''],
 | 
			
		||||
            \ 'E007' : ['使用全角中文标点', ''],
 | 
			
		||||
            \ 'E008' : ['数字使用半角字符', ''],
 | 
			
		||||
            \ 'E009' : ['遇到完整的英文整句、特殊名词,其內容使用半角标点', ''],
 | 
			
		||||
            \ }
 | 
			
		||||
command! -nargs=? CheckChinese call s:check(<q-args>)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user