Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Unexpose DefaultIfUnset utility function

  • Loading branch information...
commit 1d7ffd863b5fa063748afbd18714c10dfb7d7e2f 1 parent 5921c1d
Caio Romão authored July 15, 2012

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

  1. 8  plugin/querycommandcomplete.vim
8  plugin/querycommandcomplete.vim
@@ -52,15 +52,15 @@ let g:loaded_QueryCommandComplete = 1
52 52
 let s:save_cpo = &cpo
53 53
 set cpo&vim
54 54
 
55  
-function! DefaultIfUnset(name, default)
  55
+function! s:DefaultIfUnset(name, default)
56 56
     if !exists(a:name)
57 57
         let {a:name} = a:default
58 58
     endif
59 59
 endfunction
60 60
 
61  
-call DefaultIfUnset('g:qcc_line_separator', '\n')
62  
-call DefaultIfUnset('g:qcc_field_separator', '\t')
63  
-call DefaultIfUnset('g:qcc_pattern', '^\(To\|Cc\|Bcc\|From\|Reply-To\):')
  61
+call s:DefaultIfUnset('g:qcc_line_separator', '\n')
  62
+call s:DefaultIfUnset('g:qcc_field_separator', '\t')
  63
+call s:DefaultIfUnset('g:qcc_pattern', '^\(To\|Cc\|Bcc\|From\|Reply-To\):')
64 64
 
65 65
 function! s:MakeCompletionEntry(name, email, other)
66 66
     let entry = {}

0 notes on commit 1d7ffd8

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