浏览代码

All supported vims support text properties

Ben Jackson 2 年之前
父节点
当前提交
7eeeca3ac5
共有 1 个文件被更改,包括 1 次插入6 次删除
  1. 1 6
      python/ycm/vimsupport.py

+ 1 - 6
python/ycm/vimsupport.py

@@ -1352,11 +1352,6 @@ def HasFastPropList():
   return GetBoolValue( 'has( "patch-8.2.3652" )' )
 
 
-@memoize()
-def VimSupportsTextProperties():
-  return VimHasFunctions( 'prop_add', 'prop_type_add' )
-
-
 @memoize()
 def VimSupportsPopupWindows():
   return VimHasFunctions( 'popup_create',
@@ -1365,7 +1360,7 @@ def VimSupportsPopupWindows():
                           'popup_hide',
                           'popup_settext',
                           'popup_show',
-                          'popup_close' ) and VimSupportsTextProperties()
+                          'popup_close' )
 
 
 @memoize()