Browse Source

Merge 25b9bb88b15a50f8a326f6104069b7175bab2420 into 69760cb3accce488cc072772ca918ac2cbf384ba

Pedro Algarvio 9 years ago
parent
commit
c3d03b8126
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      syntax/python.vim

+ 1
- 0
syntax/python.vim View File

203
 "
203
 "
204
 
204
 
205
 syn match   pythonComment	"#.*$" display contains=pythonTodo,@Spell
205
 syn match   pythonComment	"#.*$" display contains=pythonTodo,@Spell
206
+syn match   pythonComment	"# pylint:.*$" display contains=pythonTodo,@NoSpell   " Don't spell pylint's comments
206
 if !s:Enabled("g:python_highlight_file_headers_as_comments")
207
 if !s:Enabled("g:python_highlight_file_headers_as_comments")
207
   syn match   pythonRun		"\%^#!.*$"
208
   syn match   pythonRun		"\%^#!.*$"
208
   syn match   pythonCoding	"\%^.*\%(\n.*\)\?#.*coding[:=]\s*[0-9A-Za-z-_.]\+.*$"
209
   syn match   pythonCoding	"\%^.*\%(\n.*\)\?#.*coding[:=]\s*[0-9A-Za-z-_.]\+.*$"