瀏覽代碼

Fix typo-bug in highlights of Python 3 builtin functions.

Joongi Kim 7 年之前
父節點
當前提交
559e3e2a3f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      syntax/python.vim

+ 1
- 1
syntax/python.vim 查看文件

@@ -493,7 +493,7 @@ if s:Enabled("g:python_highlight_builtin_funcs")
493 493
       syn match pythonBuiltinFunc       '\v(\.)@<!\zs<(print)>\ze\(' nextgroup=pythonFuncArgs
494 494
     endif
495 495
   else
496
-    syn match pythonBuiltinFunc '\v(\.)@<!\zs<(ascii|exec|memoryview|print)\ze\(>' nextgroup=pythonFuncArgs
496
+    syn match pythonBuiltinFunc '\v(\.)@<!\zs<(ascii|exec|memoryview|print)\ze\(' nextgroup=pythonFuncArgs
497 497
   endif
498 498
   syn match pythonBuiltinFunc   '\v(\.)@<!\zs<(__import__|abs|all|any)>\ze\(' nextgroup=pythonFuncArgs
499 499
   syn match pythonBuiltinFunc   '\v(\.)@<!\zs<(bin|bool|bytearray|bytes)>\ze\(' nextgroup=pythonFuncArgs