summaryrefslogtreecommitdiff
path: root/utils/vim
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-26 23:24:54 +0000
committerDan Gohman <gohman@apple.com>2010-10-26 23:24:54 +0000
commitf99f1197c73cae077e16286249c498741f718eec (patch)
tree5b193599c88d2503f69a48a7786168a5acb77b0c /utils/vim
parent1de4aa904e9672abfc2e755d798c926d324e2d36 (diff)
downloadllvm-f99f1197c73cae077e16286249c498741f718eec.tar.gz
llvm-f99f1197c73cae077e16286249c498741f718eec.tar.bz2
llvm-f99f1197c73cae077e16286249c498741f718eec.tar.xz
Enable clang autocompletion by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117415 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/vim')
-rw-r--r--utils/vim/vimrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/vim/vimrc b/utils/vim/vimrc
index 51a2365c15..3ef54c08cf 100644
--- a/utils/vim/vimrc
+++ b/utils/vim/vimrc
@@ -92,7 +92,7 @@ augroup END
"set incsearch
"set ruler
-" Clang code-completion support. This is highly experimental!
+" Clang code-completion support. This is somewhat experimental!
" A path to a clang executable.
let g:clang_path = "clang++"
@@ -216,5 +216,6 @@ function! ClangComplete(findstart, base)
return []
endfunction ClangComplete
-" Uncomment this to enable the highly-broken autocompletion support.
-"set omnifunc=ClangComplete
+" This to enables the somewhat-experimental clang-based
+" autocompletion support.
+set omnifunc=ClangComplete