Skip to content

Commit

Permalink
Python string 中不要将拖尾的空白显示为错误
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Aug 19, 2011
1 parent b648ed0 commit c4d6cd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions after/syntax/python.vim
Expand Up @@ -11,3 +11,5 @@ if expand('%:p') =~ 'www'
let b:current_syntax = 'python'
endif

syn region pythonString start=+"""+ end=+"""+ keepend contains=pythonEscape,pythonEscapeError,pythonDocTest2,@Spell
syn region pythonString start=+'''+ end=+'''+ keepend contains=pythonEscape,pythonEscapeError,pythonDocTest,@Spell

0 comments on commit c4d6cd5

Please sign in to comment.