Skip to content

Commit 48cd0ab

Browse files
committed
Split FIXME, TODO, XXX
1 parent 907edc6 commit 48cd0ab

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

syntax/python.vim

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,14 @@ syn match pythonDot '\.' display containedin=pythonDottedName
135135
" Comments
136136
"
137137

138-
syn match pythonComment '#.*$' display contains=pythonTodo,@Spell
138+
syn match pythonComment '#.*$' display contains=pythonTodo,pythonFixme,pythonXXX,@Spell
139139
if !s:Enabled('g:python_highlight_file_headers_as_comments')
140140
syn match pythonRun '\%^#!.*$'
141141
syn match pythonCoding '\%^.*\%(\n.*\)\?#.*coding[:=]\s*[0-9A-Za-z-_.]\+.*$'
142142
endif
143-
syn keyword pythonTodo TODO FIXME XXX contained
143+
syn keyword pythonTodo TODO contained
144+
syn keyword pythonFixme FIXME contained
145+
syn keyword pythonXXX XXX contained
144146

145147
"
146148
" Errors
@@ -449,6 +451,8 @@ if v:version >= 508 || !exists('did_python_syn_inits')
449451
HiLink pythonRun Special
450452
endif
451453
HiLink pythonTodo Todo
454+
HiLink pythonFixme Todo
455+
HiLink pythonXXX Todo
452456

453457
HiLink pythonError Error
454458
HiLink pythonIndentError Error

0 commit comments

Comments
 (0)