terhechte / SourceKittenDaemon

Swift Auto Completions for any Text Editor
MIT License
529 stars 37 forks source link

I get completions after remove `preprocessorFlags` #65

Closed dengcqw closed 6 years ago

dengcqw commented 7 years ago

after remove this line, completion done //compilerArgs = compilerArgs + preprocessorFlags

just report this condition, if any one meet this problem. PS: if you are use sourcekittendaemon.vim check this issues https://github.com/keith/sourcekittendaemon.vim/issues/3

Finally, I can complete swift in vim. Thx.

iT-Boyer commented 7 years ago

@dengcqw VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 2 2017 08:30:37) osx 10.13

  1. install SourceKittenDaemon
  2. install sourcekittendaemon.vim by vim-plug
  3. start Daemon
    SourceKittenDaemon start  --project /private/tmp/abcde/my.xcodeproj
  4. /ping return 'OK'

but it not work, when i run the command vim file.swift . file.swift from /files