Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Unified Diff: .ycm_extra_conf.py

Issue 904143003: [ycm] The YouCompleteMe configuration is not VIM specific. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/ninja/ninja_output.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: .ycm_extra_conf.py
diff --git a/tools/vim/v8.ycm_extra_conf.py b/.ycm_extra_conf.py
similarity index 96%
rename from tools/vim/v8.ycm_extra_conf.py
rename to .ycm_extra_conf.py
index 412e17245b08849d897da0b463f917bb78c4efa6..e065a0896bdb8259a2f15132f355704c85ca4d91 100644
--- a/tools/vim/v8.ycm_extra_conf.py
+++ b/.ycm_extra_conf.py
@@ -9,11 +9,7 @@
# 1. Install YCM [https://github.com/Valloric/YouCompleteMe]
# (Googlers should check out [go/ycm])
#
-# 2. Point to this config file in your .vimrc:
-# let g:ycm_global_ycm_extra_conf =
-# '<v8_root>/tools/vim/v8.ycm_extra_conf.py'
-#
-# 3. Profit
+# 2. Profit
#
#
# Usage notes:
@@ -129,7 +125,7 @@ def GetClangCommandFromNinjaForFilename(v8_root, filename):
# try to use the default flags.
return v8_flags
- sys.path.append(os.path.join(v8_root, 'tools', 'vim'))
+ sys.path.append(os.path.join(v8_root, 'tools', 'ninja'))
from ninja_output import GetNinjaOutputDirectory
out_dir = os.path.realpath(GetNinjaOutputDirectory(v8_root))
« no previous file with comments | « no previous file | tools/ninja/ninja_output.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698