mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
d9592fdbd0
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. |
||
---|---|---|
.. | ||
doxygen | ||
vim-addon-local-vimrc | ||
YouCompleteMe |