Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update example autocmd for completion chain

  • Loading branch information...
commit 5a38ce8b600e11941f695523363fe04e6478549a 1 parent 6982de1
Eric Van Dewoestine authored March 16, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  doc/supertab.txt
4  doc/supertab.txt
@@ -345,8 +345,8 @@ try that, then fall back to supertab's default, <c-p>, completion:
345 345
 
346 346
   autocmd FileType *
347 347
     \ if &omnifunc != '' |
348  
-    \   let g:SuperTabDefaultCompletionType = '<c-x><c-u>' |
349  
-    \   call SuperTabChain(&omnifunc, '<c-p>') |
  348
+    \   call SuperTabChain(&omnifunc, "<c-p>") |
  349
+    \   call SuperTabSetDefaultCompletionType("<c-x><c-u>") |
350 350
     \ endif
351 351
 
352 352
 Note that this feature does not support chaining any other combination of

0 notes on commit 5a38ce8

Please sign in to comment.
Something went wrong with that request. Please try again.