add tern and ctrlp