Lines Matching refs:base
186 " The a:base, is replaced directly with what the user
189 function! sqlcomplete#Complete(findstart, base) argument
270 let base = s:prepended . a:base
285 let base = ''
326 if base == ""
331 let base = s:save_prev_table
337 if base =~ '\.'
339 let owner = matchstr( base, '^\zs.*\ze\..*\..*' )
340 let table = matchstr( base, '^\(.*\.\)\?\zs.*\ze\..*' )
341 let column = matchstr( base, '.*\.\zs.*' )
375 " the base ends in a '.' we know they are not providing a column
377 " if found != -1 || (g:omni_sql_include_owner == 0 && base !~ '\.$')
400 let compl_list = filter(deepcopy(compl_list), 'v:val=~"^'.base.'"' )
409 " Since no columns were found to match the base supplied
412 let table = base
417 " base to be a partial column name
418 " let base = matchstr( base, '^\(.*\.\)\?\zs.*' )
421 let s:save_prev_table = base
452 let base = ''
503 if base != ''
506 " \\(^.base.'\\)
509 " ^\\(\\w\\+\\.\\)\\?'.base.'\\)
512 " "\\(^'.base.'\\|^\\(\\w\\+\\.\\)\\?'.base.'\\)"'
514 …= 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|^\\(\\w\\+\\.\\)\\?'.base.'\\)…
515 " let expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\)"'
516 … expr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|\\(\\.\\)\\?'.base.'\\)"'
517 …xpr = 'v:val '.(g:omni_sql_ignorecase==1?'=~?':'=~#').' "\\(^'.base.'\\|\\([^.]*\\)\\?'.base.'\\)"'
520 if empty(compl_list) && compl_type == 'table' && base =~ '\.$'
524 " If the base ends with a . it is hard to know if we are
528 let compl_list = s:SQLCGetColumns(base, list_type)
537 …arningMsg( 'Could not find type['.compl_type.'] using prepend[.'.s:prepended.'] base['.a:base.']' )