Commit Graph

10 Commits

Author SHA1 Message Date
Thiago de Arruda
6493ffac1f contrib/ycm_extra_conf.py (#6257)
- Remove some unnecessary code: IsHeaderFile is no longer required, as the logic
  to find flags to headers is now built into YCM
- Add function to make paths in flags absolute: It seems YCM is not correctly
  resolving paths in flags to consider `build` as the compiler working
  directory.
- Update documentation.
2017-03-11 15:37:21 +01:00
Heewa Barfchin
9c2a156faa Improve YCM contrib: Fix db path 2016-01-17 20:50:10 -05:00
ZyX
244dbe3a77 viminfo: First version of ShaDa file dumping
What works:

1. ShaDa file dumping: header, registers, jump list, history, search patterns,
   substitute strings, variables.
2. ShaDa file reading: registers, global marks, variables.

Most was not tested.

TODO:

1. Merging.
2. Reading history, local marks, jump and buffer lists.
3. Documentation update.
4. Converting some data from &encoding.
5. Safer variant of dumping viminfo (dump to temporary file then rename).
6. Removing old viminfo code (currently masked with `#if 0` in a ShaDa file for
   reference).
2015-10-08 21:59:51 +03:00
bobtwinkles
70393f2e30 contrib: fix YCM completion for header files #2151
[ci skip]
2015-03-16 01:48:27 -04:00
Jeff Widman
fe7db21c73 A few fixes for YCM contrib docs and code 2014-10-21 11:03:11 -03:00
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