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)) |