Commit Graph

5 Commits

Author SHA1 Message Date
Eliseo Martínez
20649051dd Improve YCM contrib: Improve documentation. 2014-10-20 08:14:30 -03:00
Eliseo Martínez
d9592fdbd0 Improve YCM contrib: Fix 'no newline at end of file' issue.
Problem:  YCM was reporting a much disturbing warning about a missing
          newline at the end of some files. This was odd, as the
          newlines were there and the warning only was shown for some
          files, not for all of them.
Cause:    After discussing this issue with @Valloric (see
          https://github.com/Valloric/YouCompleteMe/issues/950), it
          turned out that not YCM, but libclang is responsible for it.
          This is, same compilation flags that produce no warnings with
          clang-the-binary on the command line, do produce them with
          libclang-the-library when used by YCM.
Solution: Add an extra flag (-Wno_newline_eof) to those extracted from
          configuration database before passing them to YCM.
2014-10-20 08:14:30 -03:00
Eliseo Martínez
1f84a4f811 Introduce vim namespace: Contrib YCM: Fix style issues.
Python-mode signaled a couple of issues here:
- Multiple imports on same line.
- Line too long.
2014-05-19 16:24:44 +02:00
Eliseo Martínez
c0e70e1fa5 Introduce vim namespace: Contrib YCM: Fix build dir calculation.
Build directory calculation had not been correctly updated in #716.
2014-05-19 16:24:44 +02:00
Julian Orth
7740bdecea add .vimrc and src/.ycm_extra_conf.py 2014-03-14 20:37:03 -03:00