|
|
|
|
91
|
syn match pythonFunction
|
91
|
syn match pythonFunction
|
92
|
\ "\%(\%(def\s\|class\s\|@\)\s*\)\@<=\h\%(\w\|\.\)*" contained
|
92
|
\ "\%(\%(def\s\|class\s\|@\)\s*\)\@<=\h\%(\w\|\.\)*" contained
|
93
|
|
93
|
|
|
|
94
|
+" Add spelling to comments with some exceptions
|
94
|
syn match pythonComment "#.*$" contains=pythonTodo,@Spell
|
95
|
syn match pythonComment "#.*$" contains=pythonTodo,@Spell
|
|
|
96
|
+" Skip for PyLint's in-line comment rules
|
|
|
97
|
+syn match pythonComment "# pylint:.*$" display contains=@NoSpell
|
|
|
98
|
+" Skip noqa inline comments
|
|
|
99
|
+syn match pythonComment "# noqa.*$" display contains=@NoSpell
|
95
|
syn keyword pythonTodo FIXME NOTE NOTES TODO XXX contained
|
100
|
syn keyword pythonTodo FIXME NOTE NOTES TODO XXX contained
|
96
|
|
101
|
|
97
|
" Triple-quoted strings can contain doctests.
|
102
|
" Triple-quoted strings can contain doctests.
|