Skip to content

Commit 5f2d933

Browse files
committed
Added self variable highlighting.
1 parent d0e8322 commit 5f2d933

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/python.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ if exists("python_highlight_builtin_objs") && python_highlight_builtin_objs != 0
247247
" Builtin objects and types
248248
syn keyword pythonBuiltinObj True False Ellipsis None NotImplemented
249249
syn keyword pythonBuiltinObj __debug__ __doc__ __file__ __name__ __package__
250+
syn keyword pythonBuiltinObj self
250251
endif
251252

252253
if exists("python_highlight_builtin_funcs") && python_highlight_builtin_funcs != 0

0 commit comments

Comments
 (0)