Skip to content

Instantly share code, notes, and snippets.

@fllaca
fllaca / .ycm_extra_conf.py
Created December 31, 2018 00:34 — forked from lucabuka/.ycm_extra_conf.py
YouCompleteMe "ycm_extra_conf.py" for Platformio based projects - Platformio Core / VIM / Linux
"""
YouCompleteMe "ycm_extra_conf.py" for Platformio based projects.
The script calls [platformio -v run -t idedata] and process the output
to fill list with the SAME SET OF FLAGS used by platformio for the
project (compiler flags, Include dirs, compiler DEFINES, etc)
Tested on the following development environment:
- Linux (LMDE 2)
- PlatformIO, version 3.3.0a1