From 0162d4ad7157aedb9e864959e4e9910377b1cfa8 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Wed, 23 Dec 2015 01:14:12 +0000 Subject: [PATCH] Add a FAQ entry pointing at the instructions --- README.md | 11 +++++++++++ doc/youcompleteme.txt | 13 +++++++++++++ 2 files changed, 24 insertions(+) diff --git a/README.md b/README.md index 8d12f568..5ef7ce79 100644 --- a/README.md +++ b/README.md @@ -2521,6 +2521,17 @@ To increase the Neobundle timeout to 1500 seconds, add the following to your vim let g:neobundle#install_process_timeout = 1500 ``` +### When I open a JavaScript file, I get an annoying warning about `.tern-project` file + +Take a look at the [instructions for using the JavaScript +completer](#javascript-semantic-completion). + +If this is still really annoying, and you have a good reason not to have a +`.tern-project` file, create an empty `.tern-config` file in your home directory +and YCM will stop complaining. + + + Contact ------- diff --git a/doc/youcompleteme.txt b/doc/youcompleteme.txt index a14f9f86..d23d8e7e 100644 --- a/doc/youcompleteme.txt +++ b/doc/youcompleteme.txt @@ -141,6 +141,8 @@ Contents ~ 26. Why did YCM stop using Syntastic for diagnostics display? |youcompleteme-why-did-ycm-stop-using-syntastic-for-diagnostics-display| 27. Completion doesn't work with the C++ standard library headers |youcompleteme-completion-doesnt-work-with-c-standard-library-headers| 28. Install YCM with NeoBundle [48] |youcompleteme-install-ycm-with-neobundle-48| + 29. When I open a JavaScript file, I get an annoying warning about '.tern-project' +file |.tern-sub-project| 11. Contact |youcompleteme-contact| 12. License |youcompleteme-license| 13. References |youcompleteme-references| @@ -2741,6 +2743,17 @@ the following to your vimrc: > let g:neobundle#install_process_timeout = 1500 < +------------------------------------------------------------------------------- + *.tern-sub-project* +When I open a JavaScript file, I get an annoying warning about '.tern- ~ +project' file ~ + +Take a look at the instructions for using the JavaScript completer. + +If this is still really annoying, and you have a good reason not to have a +'.tern-project' file, create an empty '.tern-config' file in your home +directory and YCM will stop complaining. + =============================================================================== *youcompleteme-contact* Contact ~