Merge pull request #130 from beards/master

let g:ycm_global_ycm_extra_conf accept "~"
This commit is contained in:
Val Markovic 2013-02-18 11:10:54 -08:00
commit 3a7634c5be

View File

@ -29,8 +29,9 @@ YCM_EXTRA_CONF_FILENAME = '.ycm_extra_conf.py'
NO_EXTRA_CONF_FILENAME_MESSAGE = ('No {0} file detected, so no compile flags ' NO_EXTRA_CONF_FILENAME_MESSAGE = ('No {0} file detected, so no compile flags '
'are available. Thus no semantic support for C/C++/ObjC/ObjC++.').format( 'are available. Thus no semantic support for C/C++/ObjC/ObjC++.').format(
YCM_EXTRA_CONF_FILENAME ) YCM_EXTRA_CONF_FILENAME )
GLOBAL_YCM_EXTRA_CONF_FILE = vimsupport.GetVariableValue( GLOBAL_YCM_EXTRA_CONF_FILE = os.path.expanduser(
"g:ycm_global_ycm_extra_conf" ) vimsupport.GetVariableValue( "g:ycm_global_ycm_extra_conf" )
)
class Flags( object ): class Flags( object ):
def __init__( self ): def __init__( self ):