Advertisement
Guest User

Untitled

a guest
May 26th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. import imp
  2.  
  3. conf = imp.load_source('conf', '/Users/wuhaotian/.vim/.ycm_extra_conf.py')
  4.  
  5. flags = ["-Wno-extension-used",
  6. '-I', 'Friso', '-I', './IndexirMac/Tokenizer', '-I', './IndexirMac/Index',
  7. '-I', './IndexirMac/ViewModels', '-I', './IndexirMacTests', '-I', './IndexirMac' ]
  8.  
  9. def FlagsForFile( filename, **kwargs ):
  10. ret = conf.FlagsForFile( filename, **kwargs)
  11. ret['flags'] += flags
  12.  
  13. return ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement