Browse files

Add some help on vim completeopt.

  • Loading branch information...
1 parent 1c72c6e commit 486acce73a9b2868f43f44b10b8c5e8ad6e0a0fa Antje Miederhöfer committed with Apr 25, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 doc/clang_complete.txt
8 doc/clang_complete.txt
@@ -288,6 +288,14 @@ let g:clang_snippets_engine = 'snipmate'
instead. After a completetion you can use <Tab> in normal mode to jump to the
next parameter.
+*) Can I configure clang_complete to insert the text automatically when there
+ is only one possibility?
+You can configure vim to complete automatically the longest common match by
+adding the following line to your vimrc:
+set completeopt=menu,longest
10. License *clang_complete-license*

0 comments on commit 486acce

Please sign in to comment.