Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import imp
- conf = imp.load_source('conf', '/Users/wuhaotian/.vim/.ycm_extra_conf.py')
- flags = ["-Wno-extension-used",
- '-I', 'Friso', '-I', './IndexirMac/Tokenizer', '-I', './IndexirMac/Index',
- '-I', './IndexirMac/ViewModels', '-I', './IndexirMacTests', '-I', './IndexirMac' ]
- def FlagsForFile( filename, **kwargs ):
- ret = conf.FlagsForFile( filename, **kwargs)
- ret['flags'] += flags
- return ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement